-rw-r--r-- | core/launcher/applauncher.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/launcher/applauncher.cpp b/core/launcher/applauncher.cpp index 08a3cb4..efbf426 100644 --- a/core/launcher/applauncher.cpp +++ b/core/launcher/applauncher.cpp @@ -485,4 +485,5 @@ bool AppLauncher::execute(const QString &c, const QString &docParam, bool noRais QStringList list = QStringList::split(QRegExp(" *"),c); - if ( !docParam.isEmpty() ) - list.append( docParam ); + QStringList arglist = QStringList::split(QRegExp(" *"),docParam); + for ( QStringList::Iterator it = arglist.begin(); it != arglist.end(); ++it ) + list.append( *it ); |