summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2011-11-15 17:36:16 +0100
committerHarald Fernengel <harald.fernengel@nokia.com>2011-11-15 17:36:16 +0100
commit2326a8d878e0d18473c27ddd54880621518b6e6e (patch)
tree16ca8a323171fdce1b9084a362c06c0b0551671e /src/gui/dialogs
parent7624731b02eee17a69e717a2f6a2e3a3a7281977 (diff)
Amend qfiledialog INTEGRITY patch
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qfiledialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfiledialog.cpp b/src/gui/dialogs/qfiledialog.cpp
index 8b76dac30e..970d1111ed 100644
--- a/src/gui/dialogs/qfiledialog.cpp
+++ b/src/gui/dialogs/qfiledialog.cpp
@@ -869,7 +869,7 @@ Q_AUTOTEST_EXPORT QString qt_tildeExpansion(const QString &path, bool *expanded
if (!path.startsWith(QLatin1Char('~')))
return path;
QString ret = path;
-#if defined(Q_OS_INTEGRITY)
+#if !defined(Q_OS_INTEGRITY)
QStringList tokens = ret.split(QDir::separator());
if (tokens.first() == QLatin1String("~")) {
ret.replace(0, 1, QDir::homePath());