Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Miguel Lopez
Krita
Commits
ae131dc3
Commit
ae131dc3
authored
Apr 29, 2014
by
Arjen Hiemstra
Browse files
gemini: Use the right working directory for new instances.
parent
b1f15f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
krita/gemini/desktopviewproxy.cpp
View file @
ae131dc3
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment