diff demos/browser/browsermainwindow.d @ 113:8636c819ce4d

more porting
author mandel
date Wed, 03 Jun 2009 14:35:25 +0000
parents 87bb4e622f9e
children 4320ed0343dd
line wrap: on
line diff
--- a/demos/browser/browsermainwindow.d	Mon Jun 01 23:47:30 2009 +0000
+++ b/demos/browser/browsermainwindow.d	Wed Jun 03 14:35:25 2009 +0000
@@ -704,7 +704,7 @@
 	{
 		if (QAction action = cast(QAction) signalSender()) {
 			QVariant v = action.data();
-			if (v.canConvert!(int)()) {
+			if (v.canConvert(QVariant.Type.Int)) {
 				int offset = cast(int) v;
 				BrowserMainWindow[] windows = BrowserApplication.instance().mainWindows();
 				windows[offset].activateWindow();