Fix windows compilation

This commit is contained in:
codestation
2014-10-07 16:58:52 -04:30
parent 8d271a4def
commit 4f7d3ce280
3 changed files with 6 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ void MainWidget::refreshDatabase()
TrayIndicator *MainWidget::createTrayObject(QWidget *parent)
{
TrayFunctionPointer create_tray = NULL;
#ifdef Q_OS_LINUX
QString desktop = getenv("XDG_CURRENT_DESKTOP");
qDebug() << "Current desktop: " << desktop;
@@ -241,7 +241,7 @@ TrayIndicator *MainWidget::createTrayObject(QWidget *parent)
else
qDebug() << "Cannot load libqcma_appindicator plugin";
}
#endif
// else QSystemTrayIcon
return (create_tray != NULL) ? create_tray(parent) : createTrayIndicator(parent);
}