Fixed issue that invoking Dolphin with a specified path is ignored when another Dolphin window is open already. Thanks to Frank Reininghaus for the patch.

BUG: 169016

svn path=/trunk/KDE/kdebase/apps/; revision=927544
This commit is contained in:
Peter Penz 2009-02-17 20:43:15 +00:00
parent b1c9b5126d
commit 960f13f7cb

View file

@ -26,7 +26,6 @@
#include <kcmdlineargs.h>
#include <kurl.h>
#include <QtDBus/QDBusConnection>
#include <QtCore/QDir>
DolphinApplication::DolphinApplication() :
m_lastId(0)
@ -72,7 +71,6 @@ void DolphinApplication::refreshMainWindows()
int DolphinApplication::newInstance()
{
KCmdLineArgs::setCwd(QDir::currentPath().toUtf8());
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
static bool first = true;