Revert "Use current file path (not dir path) for open file"

This reverts commit 38abb7285c.
This commit is contained in:
mae
2010-07-13 14:23:10 +02:00
parent e1890a78eb
commit 4caba7d66d

View File

@@ -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;
}