Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-01-24 23:28:17 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-01-24 23:28:17 +0400
commit08c03d19b937de88481dd76bb2063308a5900b23 (patch)
tree468ff219eecdc5d035f3abc5074b591bab5d598e /src/mirall/utility.cpp
parent7762e80c6047e7612bae3e09453607a6ef814ac5 (diff)
Only one quote should be enough
Should fix #1295
Diffstat (limited to 'src/mirall/utility.cpp')
-rw-r--r--src/mirall/utility.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mirall/utility.cpp b/src/mirall/utility.cpp
index 289d5a95f..3604f4d91 100644
--- a/src/mirall/utility.cpp
+++ b/src/mirall/utility.cpp
@@ -340,16 +340,15 @@ static bool checkDolphinCanSelect()
// inspired by Qt Creator's showInGraphicalShell();
void Utility::showInFileManager(const QString &localPath)
{
- const QString sillyQuote("\"\"\"");
if (isWindows()) {
QString explorer = "explorer.exe "; // FIXME: we trust it's in PATH
if (!QFileInfo(localPath).isDir()) {
explorer += QLatin1String("/select,");
}
- explorer += sillyQuote;
+ explorer += QLatin1Char('"');
explorer += QDir::toNativeSeparators(localPath);
- explorer += sillyQuote;
+ explorer += QLatin1Char('"');
qDebug() << "OO Open explorer commandline:" << explorer;
QProcess p;