and make the previous one actually work

This commit is contained in:
Marco Martin 2014-02-10 16:23:13 +01:00
parent e30a50f755
commit 87730146db

View File

@ -189,7 +189,7 @@ void AppletInterface::setToolTipMainText(const QString &text)
return;
}
if (m_toolTipMainText.isEmpty()) {
if (text.isEmpty()) {
m_toolTipMainText = QString("");//this "" makes it non-null
} else {
m_toolTipMainText = text;
@ -214,7 +214,7 @@ void AppletInterface::setToolTipSubText(const QString &text)
return;
}
if (m_toolTipSubText.isEmpty()) {
if (text.isEmpty()) {
m_toolTipSubText = QString("");//this "" makes it non-null
} else {
m_toolTipSubText = text;