-rw-r--r-- | library/applnk.cpp | 5 |
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 | |||
@@ -667,7 +667,7 @@ AppLnk::~AppLnk() | |||
667 | */ | 667 | */ |
668 | void AppLnk::execute() const | 668 | void AppLnk::execute() const |
669 | { | 669 | { |
670 | execute(QStringList()); | 670 | execute( QStringList::split( ' ', property( "Arguments" ) ) ); |
671 | } | 671 | } |
672 | 672 | ||
673 | /*! | 673 | /*! |
@@ -701,7 +701,10 @@ void AppLnk::execute(const QStringList& args) const | |||
701 | */ | 701 | */ |
702 | void AppLnk::invoke(const QStringList& args) const | 702 | void AppLnk::invoke(const QStringList& args) const |
703 | { | 703 | { |
704 | if ( property( "Arguments" ).isEmpty() ) | ||
704 | Global::execute( exec(), args[0] ); | 705 | Global::execute( exec(), args[0] ); |
706 | else | ||
707 | Global::execute( exec(), args.join( " " ) ); | ||
705 | } | 708 | } |
706 | 709 | ||
707 | /*! | 710 | /*! |