Fix windows compilation
This commit is contained in:
@@ -38,10 +38,6 @@ public:
|
||||
void hide();
|
||||
void showMessage(const QString &title, const QString &message);
|
||||
|
||||
#ifndef Q_OS_LINUX
|
||||
void showMessage(const QString &title, const QString &message);
|
||||
#endif
|
||||
|
||||
private:
|
||||
//system tray
|
||||
QAction *quit;
|
||||
|
||||
@@ -22,10 +22,14 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#if defined(QCMA_TRAYINDICATOR_LIBRARY)
|
||||
# define TRAYINDICATORSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define TRAYINDICATORSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
#else
|
||||
# define TRAYINDICATORSHARED_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // TRAYINDICATOR_GLOBAL_H
|
||||
|
||||
Reference in New Issue
Block a user