diff examples/desktop/systray/window.d @ 339:4e31cbd9e20c

fix enumeration problems. requires patched dmd
author Eldar Insafutdinov
date Sun, 09 May 2010 00:52:49 +0100
parents 7a3c43424dca
children 31520b2c0b3c
line wrap: on
line diff
--- a/examples/desktop/systray/window.d	Sat Mar 27 18:53:42 2010 +0000
+++ b/examples/desktop/systray/window.d	Sun May 09 00:52:49 2010 +0100
@@ -233,13 +233,13 @@
 	void createActions()
 	{
 		minimizeAction = new QAction(tr("Mi&nimize"), this);
-		connect(minimizeAction, "activated", this, "hide");
+		connect(minimizeAction, "triggered", this, "hide");
 
 		maximizeAction = new QAction(tr("Ma&ximize"), this);
-		connect(maximizeAction, "activated", this, "showMaximized");
+		connect(maximizeAction, "triggered", this, "showMaximized");
 
 		restoreAction = new QAction(tr("&Restore"), this);
-		connect(restoreAction, "activated", this, "showNormal");
+		connect(restoreAction, "triggered", this, "showNormal");
 
 		quitAction = new QAction(tr("&Quit"), this);
 		connect(quitAction, "triggered", qApp(), "quit");