From: Marcus Eggenberger Date: Thu, 11 Mar 2010 14:03:12 +0000 (+0100) Subject: Make Quassel work with Qt 4.5 again X-Git-Tag: 0.6.0~27 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=28825f3c6c222c2828107c6627710f34b27b5066;hp=dceba6c61c7bcf45eb0eff4916b9739a2253e011 Make Quassel work with Qt 4.5 again --- diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index dce01f38..b35cad82 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -313,8 +313,9 @@ void MainWin::setupActions() { this, SLOT(showCoreInfoDlg()))); coll->addAction("ConfigureNetworks", new Action(SmallIcon("configure"), tr("Configure &Networks..."), coll, this, SLOT(on_actionConfigureNetworks_triggered()))); + // FIXME: use QKeySequence::Quit once we depend on Qt 4.6 coll->addAction("Quit", new Action(SmallIcon("application-exit"), tr("&Quit"), coll, - this, SLOT(quit()), QKeySequence::Quit)); + this, SLOT(quit()), Qt::CTRL + Qt::Key_Q)); // View coll->addAction("ConfigureBufferViews", new Action(tr("&Configure Chat Lists..."), coll,