[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [rkward/frameworks] rkward: Fix rkward --reuse
From: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2016-09-28 6:37:53
Message-ID: E1bp8V7-0001VV-AE () code ! kde ! org
[Download RAW message or body]
Git commit 1cbe3d08a0aa13e4e516a788a2d9f85f74507e5a by Thomas Friedrichsmeier.
Committed on 28/09/2016 at 06:37.
Pushed by tfry into branch 'frameworks'.
Fix rkward --reuse
M +2 -6 rkward/rkward_startup_wrapper.cpp
http://commits.kde.org/rkward/1cbe3d08a0aa13e4e516a788a2d9f85f74507e5a
diff --git a/rkward/rkward_startup_wrapper.cpp b/rkward/rkward_startup_wrapper.cpp
index 9d0b6f4..b6f8f2a 100755
--- a/rkward/rkward_startup_wrapper.cpp
+++ b/rkward/rkward_startup_wrapper.cpp
@@ -145,12 +145,8 @@ int main (int argc, char *argv[]) {
// all RKWard and KDE options (other than --reuse) are of the for --option \
<value>. So skip over the <value> i++;
} else {
- QUrl url (args[i]);
- if (url.isRelative ()) {
- file_args.append (QDir::current ().absoluteFilePath (url.toLocalFile ()));
- } else {
- file_args.append (args[i]);
- }
+ QUrl url = QUrl::fromUserInput (args[i], QDir::currentPath (), \
QUrl::AssumeLocalFile); + file_args.append (url.toString ());
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic