X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientuserinputhandler.cpp;h=610a70210c7dff290d2bda57205c95fdb2401437;hp=a02bc18995e91a12d026144a45fe8a2529af9231;hb=b64a1e62e2168dc21e350fccc6c42b0d0d5e2a35;hpb=dd381ac71adfcd9bcad028b277fe65e13fecaf15 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); }