Commit ae131dc3 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

gemini: Use the right working directory for new instances.

parent b1f15f8f
......@@ -126,7 +126,7 @@ void DesktopViewProxy::fileOpen()
DocumentManager::instance()->recentFileManager()->addRecent(filename);
QProcess::startDetached(qApp->applicationFilePath(), QStringList() << filename);
QProcess::startDetached(qApp->applicationFilePath(), QStringList() << filename, QDir::currentPath());
}
void DesktopViewProxy::fileSave()
......@@ -172,7 +172,7 @@ void DesktopViewProxy::loadExistingAsNew()
void DesktopViewProxy::slotFileOpenRecent(const KUrl& url)
{
QProcess::startDetached(qApp->applicationFilePath(), QStringList() << url.toLocalFile());
QProcess::startDetached(qApp->applicationFilePath(), QStringList() << url.toLocalFile(), QDir::currentPath());
}
#include "desktopviewproxy.moc"
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