[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: QUANTA_3_1_BRANCH: quanta
From: Andras Mantia <amantia () freemail ! hu>
Date: 2003-07-10 20:38:51
[Download RAW message or body]
CVS commit by amantia:
Execute script actions even if they start with ~. (backport)
M +1 -0 ChangeLog 1.90.2.83
M +6 -0 quanta/toolbar/tagaction.cpp 1.20.2.10
--- quanta/ChangeLog #1.90.2.82:1.90.2.83
@@ -16,4 +16,5 @@
- encode the subject in a mailto url [#60275]
- shortcut to Misc. Tag changed to Ctrl-Shift-T [#60616]
+ - execute script actions even if they start with ~
- usability enhancements:
--- quanta/quanta/toolbar/tagaction.cpp #1.20.2.9:1.20.2.10
@@ -21,4 +21,5 @@
//qt includes
+#include <qdir.h>
#include <qdom.h>
@@ -187,4 +188,9 @@ void TagAction::insertTag()
args = command.mid(pos+1);
command = command.left(pos);
+ }
+ if (command.startsWith("~"))
+ {
+ command = command.mid(1);
+ command.prepend(QDir::homeDirPath());
}
*proc << command.stripWhiteSpace();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic