We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce391ab commit 2296135Copy full SHA for 2296135
application/systemfiledialog.cpp
@@ -77,9 +77,11 @@ void SystemFileDialog::onFileDialogAccepted()
77
78
void SystemFileDialog::onFileDialogFinished()
79
{
80
- globalPrefs->setLastFolderUrl(m_dialog->directoryUrl());
81
- emit finished();
+ const auto lastFolderPath = m_dialog->directory().absolutePath();
+ globalPrefs->setLastFolderUrl(QUrl::fromLocalFile(lastFolderPath));
82
+
83
disconnect();
84
+ emit finished();
85
}
86
87
QUrl SystemFileDialog::standardLocationPath(StandardLocation location)
0 commit comments