diff demos/browser/bookmarks.d @ 141:4320ed0343dd

demos/browser: QVariant.canConvert fixes.
author SokoL_SD
date Sun, 07 Jun 2009 18:59:47 +0000
parents 8636c819ce4d
children bd316478744c
line wrap: on
line diff
--- a/demos/browser/bookmarks.d	Sun Jun 07 18:30:09 2009 +0000
+++ b/demos/browser/bookmarks.d	Sun Jun 07 18:59:47 2009 +0000
@@ -1132,7 +1132,7 @@
 	void triggered(QAction action)
 	{
 		QVariant v = action.data();
-		if (v.canConvert(QVariant.Type.Url)) {
+		if (v.canConvert!(QVariant.Type.Url)) {
 			openUrl.emit(v.toUrl());
 		}
 	}