summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-12-20 15:53:57 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-12-20 15:56:51 (GMT)
commite8d42e5861bdfd6acec3bf1ccc8d55b09b1cc573 (patch)
treeaf77fb158971a667a03211b33ba50292269dbee1 /src/gui/dialogs
parent215748d3be876ffec5d72f2d1dfcce56bb7a5937 (diff)
downloadQt-e8d42e5861bdfd6acec3bf1ccc8d55b09b1cc573.zip
Qt-e8d42e5861bdfd6acec3bf1ccc8d55b09b1cc573.tar.gz
Qt-e8d42e5861bdfd6acec3bf1ccc8d55b09b1cc573.tar.bz2
Remove few compile warnings
Reviewed-by: Janne Koskinen
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qfiledialog_symbian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qfiledialog_symbian.cpp b/src/gui/dialogs/qfiledialog_symbian.cpp
index d82ce2b..1fc5f5e 100644
--- a/src/gui/dialogs/qfiledialog_symbian.cpp
+++ b/src/gui/dialogs/qfiledialog_symbian.cpp
@@ -64,7 +64,7 @@ public:
filterList.clear();
if (filter.left(2) == QLatin1String("*.")) {
//Filter has only extensions
- filterList << filter.split(" ");
+ filterList << filter.split(QLatin1String(" "));
return;
} else {
//Extensions are in parenthesis and there may be several filters
@@ -75,7 +75,7 @@ public:
return;
}
}
- QRegExp rx("\\(([^\\)]*)\\)");
+ QRegExp rx(QLatin1String("\\(([^\\)]*)\\)"));
int pos = 0;
while ((pos = rx.indexIn(filter, pos)) != -1) {
filterList << rx.cap(1).split(QLatin1String(" "));