[rkward-cvs] [rkward] rkward/windows: Support opening .rda-files from command line / internal file browser

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Nov 28 07:38:17 UTC 2014


Git commit 2e743461c172189ddc2f86a43ef3f60886aac292 by Thomas Friedrichsmeier.
Committed on 28/11/2014 at 07:37.
Pushed by tfry into branch 'master'.

Support opening .rda-files from command line / internal file browser

M  +1    -1    rkward/windows/rkworkplace.cpp

http://commits.kde.org/rkward/2e743461c172189ddc2f86a43ef3f60886aac292

diff --git a/rkward/windows/rkworkplace.cpp b/rkward/windows/rkworkplace.cpp
index b9244f1..a328ea9 100644
--- a/rkward/windows/rkworkplace.cpp
+++ b/rkward/windows/rkworkplace.cpp
@@ -263,7 +263,7 @@ bool RKWorkplace::openAnyUrl (const KUrl &url, const QString &known_mimetype, bo
 			openHelpWindow (url, true);
 			return true;	// TODO
 		}
-		if (url.fileName ().toLower ().endsWith (".rdata")) {
+		if (url.fileName ().toLower ().endsWith (".rdata") || url.fileName ().toLower ().endsWith (".rda")) {
 			RKWardMainWindow::getMain ()->askOpenWorkspace (url);
 			return true;	// TODO
 		}




More information about the rkward-tracker mailing list