Added Plasma 5 notifier support (Qt5 build).

This commit is contained in:
codestation
2014-10-23 11:10:35 -04:30
parent 090f226934
commit a4662a1392
6 changed files with 19 additions and 8 deletions

View File

@@ -219,7 +219,6 @@ TrayIndicator *MainWidget::createTrayObject(QWidget *parent)
QString desktop = getenv("XDG_CURRENT_DESKTOP");
qDebug() << "Current desktop: " << desktop;
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
if(desktop.toLower() == "kde")
{
// KDENotifier
@@ -230,7 +229,6 @@ TrayIndicator *MainWidget::createTrayObject(QWidget *parent)
qDebug() << "Cannot load libqcma_kdenotifier plugin";
}
else
#endif
// try to use the appindicator if is available
// if(desktop.toLower() == "unity")
{