summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/applnk.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/applnk.cpp b/library/applnk.cpp
index 9c60f1a..5f7da8e 100644
--- a/library/applnk.cpp
+++ b/library/applnk.cpp
@@ -669,3 +669,3 @@ void AppLnk::execute() const
{
- execute(QStringList());
+ execute( QStringList::split( ' ', property( "Arguments" ) ) );
}
@@ -703,3 +703,6 @@ void AppLnk::invoke(const QStringList& args) const
{
+ if ( property( "Arguments" ).isEmpty() )
Global::execute( exec(), args[0] );
+ else
+ Global::execute( exec(), args.join( " " ) );
}