summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/applnk.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/applnk.cpp b/library/applnk.cpp
index 9c60f1a..5f7da8e 100644
--- a/library/applnk.cpp
+++ b/library/applnk.cpp
@@ -668,5 +668,5 @@ AppLnk::~AppLnk()
void AppLnk::execute() const
{
- execute(QStringList());
+ execute( QStringList::split( ' ', property( "Arguments" ) ) );
}
@@ -702,5 +702,8 @@ void AppLnk::execute(const QStringList& args) const
void AppLnk::invoke(const QStringList& args) const
{
- Global::execute( exec(), args[0] );
+ if ( property( "Arguments" ).isEmpty() )
+ Global::execute( exec(), args[0] );
+ else
+ Global::execute( exec(), args.join( " " ) );
}