summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-21 21:42:36 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-10-21 21:42:36 +0200
commitafbd05681fc56990dac94ce23f7254cbb62284cf (patch)
tree6a6af18f2b4567ce32e338b237b79865715d62c9 /tools
parent38ddcb52e24f027b0feb766fb5e31c3e5d87d89e (diff)
downloadmanaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.tar.gz
manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.tar.xz
manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.zip
Fixed compile
For some reason qApp was missing for seeseekey.
Diffstat (limited to 'tools')
-rw-r--r--tools/monitor/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/monitor/main.cpp b/tools/monitor/main.cpp
index 9674fc7..194e08c 100644
--- a/tools/monitor/main.cpp
+++ b/tools/monitor/main.cpp
@@ -224,7 +224,8 @@ ServerMonitor::ServerMonitor()
qFatal("Couldn't create TERM socketpair");
snTerm = new QSocketNotifier(sigtermFd[1], QSocketNotifier::Read, this);
- connect(snTerm, SIGNAL(activated(int)), qApp, SLOT(quit()));
+ connect(snTerm, SIGNAL(activated(int)),
+ QCoreApplication::instance(), SLOT(quit()));
}
void ServerMonitor::setupUnixSignalHandlers()