summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qcompleter.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-21 17:48:50 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-01 10:59:41 (GMT)
commit7101a3fafb40cacb855ee07036ce4baacc5d202b (patch)
tree619cb68cf1dd716a3ee527e103bb4901853e409e /src/gui/util/qcompleter.cpp
parent2365b2dfd57770875b6eefb165ec27f3bf65dd0c (diff)
downloadQt-7101a3fafb40cacb855ee07036ce4baacc5d202b.zip
Qt-7101a3fafb40cacb855ee07036ce4baacc5d202b.tar.gz
Qt-7101a3fafb40cacb855ee07036ce4baacc5d202b.tar.bz2
Compile with QStringBuilder and QByteArray
Reviewed-by: Denis
Diffstat (limited to 'src/gui/util/qcompleter.cpp')
-rw-r--r--src/gui/util/qcompleter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/util/qcompleter.cpp b/src/gui/util/qcompleter.cpp
index 27684bf..0cb3bbd 100644
--- a/src/gui/util/qcompleter.cpp
+++ b/src/gui/util/qcompleter.cpp
@@ -926,7 +926,7 @@ void QCompleterPrivate::_q_fileSystemModelDirectoryLoaded(const QString &path)
// If we hide the popup because there was no match because the model was not loaded yet,
// we re-start the completion when we get the results
if (hiddenBecauseNoMatch
- && prefix.startsWith(path) && prefix != (path + '/')
+ && prefix.startsWith(path) && prefix != (path + QLatin1Char('/'))
&& widget) {
q->complete();
}