comparison 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
comparison
equal deleted inserted replaced
140:6cbe4f5f8fb7 141:4320ed0343dd
1130 private: 1130 private:
1131 1131
1132 void triggered(QAction action) 1132 void triggered(QAction action)
1133 { 1133 {
1134 QVariant v = action.data(); 1134 QVariant v = action.data();
1135 if (v.canConvert(QVariant.Type.Url)) { 1135 if (v.canConvert!(QVariant.Type.Url)) {
1136 openUrl.emit(v.toUrl()); 1136 openUrl.emit(v.toUrl());
1137 } 1137 }
1138 } 1138 }
1139 1139
1140 void activated(QModelIndex index) 1140 void activated(QModelIndex index)