1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

* Finally builds on Win32 again.

This commit is contained in:
Christian Muehlhaeuser
2011-02-14 17:53:39 +01:00
parent 496a09dc81
commit 76802d971d

View File

@@ -40,25 +40,11 @@
#include <QtGui/QApplication> #include <QtGui/QApplication>
#include "dllmacro.h"
class QtLocalPeer; class QtLocalPeer;
#if defined(Q_WS_WIN) class DLLEXPORT QtSingleApplication : public QApplication
# if !defined(QT_QTSINGLEAPPLICATION_EXPORT) && !defined(QT_QTSINGLEAPPLICATION_IMPORT)
# define QT_QTSINGLEAPPLICATION_EXPORT
# elif defined(QT_QTSINGLEAPPLICATION_IMPORT)
# if defined(QT_QTSINGLEAPPLICATION_EXPORT)
# undef QT_QTSINGLEAPPLICATION_EXPORT
# endif
# define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllimport)
# elif defined(QT_QTSINGLEAPPLICATION_EXPORT)
# undef QT_QTSINGLEAPPLICATION_EXPORT
# define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllexport)
# endif
#else
# define QT_QTSINGLEAPPLICATION_EXPORT
#endif
class QT_QTSINGLEAPPLICATION_EXPORT QtSingleApplication : public QApplication
{ {
Q_OBJECT Q_OBJECT