Mercurial > projects > qtd
diff demos/browser/toolbarsearch.d @ 141:4320ed0343dd
demos/browser: QVariant.canConvert fixes.
author | SokoL_SD |
---|---|
date | Sun, 07 Jun 2009 18:59:47 +0000 |
parents | 8636c819ce4d |
children |
line wrap: on
line diff
--- a/demos/browser/toolbarsearch.d Sun Jun 07 18:30:09 2009 +0000 +++ b/demos/browser/toolbarsearch.d Sun Jun 07 18:59:47 2009 +0000 @@ -157,7 +157,7 @@ void triggeredMenuAction(QAction action) { QVariant v = action.data(); - if (v.canConvert(QVariant.Type.String)) { + if (v.canConvert!(string)) { string text = v.toString(); lineEdit().setText(text); searchNow();