Mercurial > hg > tony
diff src/MainWindow.cpp @ 387:0649ac148bf7
open -> openPath (for progress, with remote URLs)
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:35:29 +0100 |
parents | 93d63e69b181 |
children | 09aaceb76251 |
line wrap: on
line diff
--- a/src/MainWindow.cpp Tue Sep 02 16:23:48 2014 +0100 +++ b/src/MainWindow.cpp Tue Sep 09 16:35:29 2014 +0100 @@ -1689,7 +1689,7 @@ if (path.isEmpty()) return; - FileOpenStatus status = open(path, ReplaceSession); + FileOpenStatus status = openPath(path, ReplaceSession); if (status == FileOpenFailed) { QMessageBox::critical(this, tr("Failed to open file"), @@ -1719,7 +1719,7 @@ if (text.isEmpty()) return; - FileOpenStatus status = open(text, ReplaceSession); + FileOpenStatus status = openPath(text, ReplaceSession); if (status == FileOpenFailed) { QMessageBox::critical(this, tr("Failed to open location"), @@ -1745,7 +1745,7 @@ QString path = action->text(); if (path == "") return; - FileOpenStatus status = open(path, ReplaceSession); + FileOpenStatus status = openPath(path, ReplaceSession); if (status == FileOpenFailed) { QMessageBox::critical(this, tr("Failed to open location"), @@ -1783,7 +1783,7 @@ for (QStringList::iterator i = uriList.begin(); i != uriList.end(); ++i) { - FileOpenStatus status = open(*i, ReplaceSession); + FileOpenStatus status = openPath(*i, ReplaceSession); if (status == FileOpenFailed) { QMessageBox::critical(this, tr("Failed to open dropped URL"),