[qet] [1863] Removed a call to a function unavailable in Qt 4.6. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 1863
Author: xavier
Date: 2012-05-25 11:06:55 +0200 (Fri, 25 May 2012)
Log Message:
-----------
Removed a call to a function unavailable in Qt 4.6.
Modified Paths:
--------------
trunk/sources/qetapp.cpp
Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp 2012-05-25 08:57:15 UTC (rev 1862)
+++ trunk/sources/qetapp.cpp 2012-05-25 09:06:55 UTC (rev 1863)
@@ -547,7 +547,7 @@
QStringList QETApp::handledFiles(const QList<QUrl> &urls) {
QList<QString> filepaths;
foreach (QUrl url, urls) {
- if (!url.isLocalFile()) continue;
+ if (url.scheme() != "file") continue;
QString local_path = url.toLocalFile();
QFileInfo local_path_info(local_path);
QString local_path_ext = local_path_info.completeSuffix();