mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Removed a call to a function unavailable in Qt 4.6.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1863 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -547,7 +547,7 @@ QStringList QETApp::handledFileExtensions() {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user