diff examples/itemviews/customsortfiltermodel/mysortfilterproxymodel.d @ 207:71101646ab25

more D2 examples fixes
author SokoL_SD
date Tue, 14 Jul 2009 09:25:04 +0000
parents 624b4a58556e
children 26036621830e
line wrap: on
line diff
--- a/examples/itemviews/customsortfiltermodel/mysortfilterproxymodel.d	Tue Jul 14 09:13:27 2009 +0000
+++ b/examples/itemviews/customsortfiltermodel/mysortfilterproxymodel.d	Tue Jul 14 09:25:04 2009 +0000
@@ -88,7 +88,7 @@
 		QModelIndex index1 = sourceModel().index(sourceRow, 1, sourceParent);
 		QModelIndex index2 = sourceModel().index(sourceRow, 2, sourceParent);
 
-		static bool contains(char[] str, QRegExp rx1)
+		static bool contains(string str, QRegExp rx1)
 		{
 			auto rx2 = new QRegExp(rx1);
 			return (rx2.indexIn(str, 0) != -1);