summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/scripttreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/scripttreeview.cpp')
-rw-r--r--quanta/treeviews/scripttreeview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/treeviews/scripttreeview.cpp b/quanta/treeviews/scripttreeview.cpp
index 1652cf18..55b36c81 100644
--- a/quanta/treeviews/scripttreeview.cpp
+++ b/quanta/treeviews/scripttreeview.cpp
@@ -224,8 +224,8 @@ void ScriptTreeView::slotAssignAction()
TQString execApp = infoOptionValue(infoURL, "interpreter");
if (execApp.isEmpty())
execApp = "sh";
- url.setPath(url.path().tqreplace(locateLocal("data", resourceDir + "scripts/"), "%scriptdir/"));
- url.setPath(url.path().tqreplace(qConfig.globalDataDir + resourceDir + "scripts/", "%scriptdir/"));
+ url.setPath(url.path().replace(locateLocal("data", resourceDir + "scripts/"), "%scriptdir/"));
+ url.setPath(url.path().replace(qConfig.globalDataDir + resourceDir + "scripts/", "%scriptdir/"));
emit assignActionToScript(url, execApp);
}
}