summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2009-08-26 13:20:11 +0200
committerLukáš Lalinský <lalinsky@gmail.com>2009-08-26 13:20:11 +0200
commit72200c7507e71799d8a79a341e3d91c35c0dbc82 (patch)
tree3fb79c0353210ed708fb1894b0e690d17c18f4f7 /src
parent7bdeaf5da2e2bdf5affbed5ca2a534787a3a9717 (diff)
downloaddbmodel-72200c7507e71799d8a79a341e3d91c35c0dbc82.tar.xz
Use canonicalFilePath rather than absoluteFilePath
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b7ebbe3..4b7b500 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -707,7 +707,7 @@ MainWindow::addRecentFile(const QString &fileName)
{
QSettings settings;
QStringList files = settings.value("recentFileList").toStringList();
- QString absFileName = QFileInfo(fileName).absoluteFilePath();
+ QString absFileName = QFileInfo(fileName).canonicalFilePath();
files.removeAll(absFileName);
files.prepend(absFileName);
while (files.size() > MaxRecentFiles)