Commit a21c9644 authored by Christian Ehrlicher's avatar Christian Ehrlicher
Browse files

add suggestions from ossi

svn path=/trunk/KDE/kdebase/apps/; revision=676854
parent a51d0515
......@@ -112,6 +112,7 @@
#include <kiconloader.h>
#include <kmenu.h>
#include <kprocess.h>
#include <kshell.h>
#include <kio/scheduler.h>
#include <kio/netaccess.h>
#include <kacceleratormanager.h>
......@@ -1394,7 +1395,7 @@ void KonqMainWindow::slotOpenTerminal()
}
// Compensate for terminal having arguments.
QStringList args = term.split(' ', QString::SkipEmptyParts);
QStringList args = KShell::splitArgs(term);
if(args.count() == 0)
return;
QString prog = args.takeFirst();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment