From 710cf2f8f1941fa8beb9f7d92e3de03fee9265e3 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sat, 12 Jun 2010 10:17:23 +0100
Subject: Allow quitting, debug console and about with Qt 4.6.3.

Resolves: #461

diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 66ac2db..952e066 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -130,13 +130,13 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
 #endif
 	
 	QAction* aboutAction = new QAction("About Swift", this);
-	connect(aboutAction, SIGNAL(activated()), SLOT(handleAbout()));
+	connect(aboutAction, SIGNAL(triggered()), SLOT(handleAbout()));
 	swiftMenu_->addAction(aboutAction);
 
 	toolsMenu_ = new QMenu(tr("Tools"), this);
 
 	QAction* xmlConsoleAction = new QAction(tr("Show Debug Console"), this);
-	connect(xmlConsoleAction, SIGNAL(activated()), SLOT(handleShowXMLConsole()));
+	connect(xmlConsoleAction, SIGNAL(triggered()), SLOT(handleShowXMLConsole()));
 	toolsMenu_->addAction(xmlConsoleAction);
 
 	toggleSoundsAction_ = new QAction(tr("Play Sounds"), this);
@@ -147,7 +147,7 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
 
 	
 	QAction* quitAction = new QAction("Quit", this);
-	connect(quitAction, SIGNAL(activated()), SLOT(handleQuit()));
+	connect(quitAction, SIGNAL(triggered()), SLOT(handleQuit()));
 	swiftMenu_->addAction(quitAction);
 
 	setInitialMenus();
-- 
cgit v0.10.2-6-g49f6