diff options
author | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-14 14:19:22 (GMT) |
---|---|---|
committer | Norwegian Rock Cat <qt-info@nokia.com> | 2009-05-14 14:19:22 (GMT) |
commit | d644a9a89ff4f7bf8866b69af5334ea1c696e4a7 (patch) | |
tree | 1c2d8a33d939de6a62a094a576ef88df10fe0935 /src/gui/dialogs | |
parent | 8e9b041f0081cd5af67c5c5f3cee0cf2b70ffe11 (diff) | |
download | Qt-d644a9a89ff4f7bf8866b69af5334ea1c696e4a7.zip Qt-d644a9a89ff4f7bf8866b69af5334ea1c696e4a7.tar.gz Qt-d644a9a89ff4f7bf8866b69af5334ea1c696e4a7.tar.bz2 |
Compile.
Need the proper types.
Reviewed-by: Andy
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r-- | src/gui/dialogs/qsidebar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qsidebar.cpp b/src/gui/dialogs/qsidebar.cpp index 9abefdf..000a06b 100644 --- a/src/gui/dialogs/qsidebar.cpp +++ b/src/gui/dialogs/qsidebar.cpp @@ -251,7 +251,7 @@ void QUrlModel::addUrls(const QList<QUrl> &list, int row, bool move) #if defined(Q_OS_WIN) if (QDir::cleanPath(index(j, 0).data(UrlRole).toUrl().toLocalFile()).toLower() == QDir::cleanPath(url.toLocalFile()).toLower()) { #else - if (QDir::cleanPath(index(j, 0).data(UrlRole)) == QDir::cleanPath(url)) { + if (QDir::cleanPath(index(j, 0).data(UrlRole).toUrl().toLocalFile()) == QDir::cleanPath(url.toLocalFile())) { #endif removeRow(j); if (j <= row) |