another valid plugininfo guard
This commit is contained in:
parent
a54da78ce8
commit
c2518b66f9
@ -268,7 +268,7 @@ void AppletInterface::setToolTipMainText(const QString &text)
|
|||||||
|
|
||||||
QString AppletInterface::toolTipSubText() const
|
QString AppletInterface::toolTipSubText() const
|
||||||
{
|
{
|
||||||
if (m_toolTipSubText.isNull()) {
|
if (m_toolTipSubText.isNull() && applet()->pluginInfo().isValid()) {
|
||||||
return applet()->pluginInfo().comment();
|
return applet()->pluginInfo().comment();
|
||||||
} else {
|
} else {
|
||||||
return m_toolTipSubText;
|
return m_toolTipSubText;
|
||||||
|
Loading…
Reference in New Issue
Block a user