forked from qt-creator/qt-creator
Revert "Use current file path (not dir path) for open file"
This reverts commit 38abb7285c
.
This commit is contained in:
@@ -1009,7 +1009,7 @@ QString FileManager::currentFile() const
|
||||
QString FileManager::fileDialogInitialDirectory() const
|
||||
{
|
||||
if (!d->m_currentFile.isEmpty())
|
||||
return QFileInfo(d->m_currentFile).absoluteFilePath();
|
||||
return QFileInfo(d->m_currentFile).absolutePath();
|
||||
return d->m_lastVisitedDirectory;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user