]> git.pld-linux.org Git - packages/pokerth.git/blame - system-qtsingleapp.patch
- release 6 (by relup.sh)
[packages/pokerth.git] / system-qtsingleapp.patch
CommitLineData
072aff66
JR
1diff -Nur PokerTH-1.1.1-src/pokerth_game.pro PokerTH-1.1.1-src-fedora/pokerth_game.pro
2--- PokerTH-1.1.1-src/pokerth_game.pro 2014-01-10 21:18:20.743643000 +0000
3+++ PokerTH-1.1.1-src-fedora/pokerth_game.pro 2014-06-14 05:15:10.996114724 +0000
4@@ -10,13 +10,13 @@
5 TEMPLATE = app
6 CODECFORSRC = UTF-8
7 CONFIG += qt \
8+ qtsingleapplication \
9 thread \
10 embed_manifest_exe \
11 exceptions \
12 rtti \
13 stl \
14 warn_on
15-include(src/third_party/qtsingleapplication/qtsingleapplication.pri)
16 QT += sql
17 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
18 UI_DIR = uics
19diff -Nur PokerTH-1.1.1-src/src/pokerth.cpp PokerTH-1.1.1-src-fedora/src/pokerth.cpp
20--- PokerTH-1.1.1-src/src/pokerth.cpp 2014-01-10 21:18:20.926643000 +0000
21+++ PokerTH-1.1.1-src-fedora/src/pokerth.cpp 2014-06-14 06:24:45.446516672 +0000
22@@ -55,7 +55,7 @@
23 #include "startsplash.h"
24 #include "game_defs.h"
25 #include <net/socket_startup.h>
26-#include <third_party/qtsingleapplication/qtsingleapplication.h>
27+#include <QtSingleApplication>
28
29 #ifdef _MSC_VER
30 #ifdef _DEBUG
31@@ -103,8 +103,8 @@
32 QApplication a(argc, argv);
33 a.setApplicationName("PokerTH");
34 #else
35- SharedTools::QtSingleApplication a( "PokerTH", argc, argv );
36- if (a.sendMessage("Wake up!")) {
37+ QtSingleApplication a( "PokerTH", argc, argv );
38+ if (a.sendMessage(QString("Wake up!"))) {
39 return 0;
40 }
41 #endif
This page took 0.059024 seconds and 4 git commands to generate.