From ed92b60bfe249e2ec030c8e103e545dec854aba9 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 4 Dec 2017 08:44:07 +0100 Subject: Fix typo "LastIamgeDir"->"LastImageDir" This fixes an actual bug, where the current image dir would only be remembered on closing the program. Signed-off-by: Berthold Stoeger --- desktop-widgets/divelistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index c12ac8934..48b10fbc4 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -1018,7 +1018,7 @@ QString DiveListView::lastUsedImageDir() settings.beginGroup("FileDialog"); if (settings.contains("LastImageDir")) if (QDir::setCurrent(settings.value("LastImageDir").toString())) - lastImageDir = settings.value("LastIamgeDir").toString(); + lastImageDir = settings.value("LastImageDir").toString(); return lastImageDir; } -- cgit v1.2.3-70-g09d2