diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-21 21:42:36 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2009-10-21 21:42:36 +0200 |
commit | afbd05681fc56990dac94ce23f7254cbb62284cf (patch) | |
tree | 6a6af18f2b4567ce32e338b237b79865715d62c9 /tools/monitor | |
parent | 38ddcb52e24f027b0feb766fb5e31c3e5d87d89e (diff) | |
download | manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.tar.gz manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.tar.bz2 manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.tar.xz manaserv-afbd05681fc56990dac94ce23f7254cbb62284cf.zip |
Fixed compile
For some reason qApp was missing for seeseekey.
Diffstat (limited to 'tools/monitor')
-rw-r--r-- | tools/monitor/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/monitor/main.cpp b/tools/monitor/main.cpp index 9674fc7d..194e08cd 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() |