[rkward-cvs] SF.net SVN: rkward:[2804] trunk/rkward/rkward/scriptbackends/ qtscriptbackend.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Mar 22 16:52:34 UTC 2010
Revision: 2804
http://rkward.svn.sourceforge.net/rkward/?rev=2804&view=rev
Author: tfry
Date: 2010-03-22 16:52:34 +0000 (Mon, 22 Mar 2010)
Log Message:
-----------
Fix include()-statement on windows
Modified Paths:
--------------
trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp
Modified: trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp
===================================================================
--- trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp 2010-03-22 16:51:43 UTC (rev 2803)
+++ trunk/rkward/rkward/scriptbackends/qtscriptbackend.cpp 2010-03-22 16:52:34 UTC (rev 2804)
@@ -2,7 +2,7 @@
krossbackend - description
-------------------
begin : Mon Sep 28 2009
- copyright : (C) 2009 by Thomas Friedrichsmeier
+ copyright : (C) 2009, 2010 by Thomas Friedrichsmeier
email : tfry at users.sourceforge.net
***************************************************************************/
@@ -35,7 +35,6 @@
busy = true;
}
-
QtScriptBackend::~QtScriptBackend () {
RK_TRACE (PHP);
@@ -209,7 +208,7 @@
RK_TRACE (PHP);
QString _filename = filename;
- if (!filename.startsWith ("/")) {
+ if (QFileInfo (filename).isRelative ()) {
KUrl script_path = KUrl (QUrl::fromLocalFile (_scriptfile)).upUrl ();
script_path.addPath (filename);
_filename = script_path.toLocalFile ();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list