From: Flavio Tordini Date: Sun, 21 Sep 2014 16:45:27 +0000 (+0200) Subject: Qt5 fix X-Git-Tag: 2.3~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd855f021d11dd3267215c4e835e511b6927b90f;p=minitube Qt5 fix --- diff --git a/src/qtsingleapplication/qtsingleapplication.cpp b/src/qtsingleapplication/qtsingleapplication.cpp index 3840ad8..ec40040 100644 --- a/src/qtsingleapplication/qtsingleapplication.cpp +++ b/src/qtsingleapplication/qtsingleapplication.cpp @@ -191,7 +191,7 @@ QtSingleApplication::QtSingleApplication(int &argc, char **argv, Type type) */ -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX_NO) /*! Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier diff --git a/src/qtsingleapplication/qtsingleapplication.h b/src/qtsingleapplication/qtsingleapplication.h index 29a4182..09afcc9 100644 --- a/src/qtsingleapplication/qtsingleapplication.h +++ b/src/qtsingleapplication/qtsingleapplication.h @@ -73,7 +73,7 @@ public: QtSingleApplication(int &argc, char **argv, bool GUIenabled = true); QtSingleApplication(const QString &id, int &argc, char **argv); // QtSingleApplication(int &argc, char **argv, Type type); -#if defined(Q_OS_LINUX) +#if defined(Q_OS_LINUX_NO) QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0); QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0);