X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientuserinputhandler.cpp;h=610a70210c7dff290d2bda57205c95fdb2401437;hb=541013790cdbd0c32d81debf8f42ac6b5183a4aa;hp=a02bc18995e91a12d026144a45fe8a2529af9231;hpb=dd381ac71adfcd9bcad028b277fe65e13fecaf15;p=quassel.git diff --git a/src/client/clientuserinputhandler.cpp b/src/client/clientuserinputhandler.cpp index a02bc189..610a7021 100644 --- a/src/client/clientuserinputhandler.cpp +++ b/src/client/clientuserinputhandler.cpp @@ -67,15 +67,6 @@ void ClientUserInputHandler::handleUserInput(const BufferInfo &bufferInfo, const } void ClientUserInputHandler::handleExec(const BufferInfo &bufferInfo, const QString &execString) { - QString script; - QStringList params; - if(execString.contains(' ')) { - script = execString.section(' ', 0, 0); - params = execString.section(' ', 1).trimmed().split(' '); // FIXME handle args properly, including quoted strings etc - } else - script = execString; - - ExecWrapper *exec = new ExecWrapper(this); - exec->start(bufferInfo, script, params); - + ExecWrapper *exec = new ExecWrapper(this); // gets suicidal when it's done + exec->start(bufferInfo, execString); }