# HG changeset patch # User Jari Korhonen # Date 1273842581 -10800 # Node ID e376d572b0c49c8546d54dca5b7b89a06c55f25f # Parent c560c3a2774565d2c4ba488a4c9179f73ced3677 Version 0.4.1: Checks that local path ends with path separator. diff -r c560c3a27745 -r e376d572b0c4 common.h --- a/common.h Fri May 14 15:34:27 2010 +0300 +++ b/common.h Fri May 14 16:09:41 2010 +0300 @@ -6,7 +6,7 @@ #include #define APPNAME "HgExplorer" -#define APPVERSION "0.4.0" +#define APPVERSION "0.4.1" #define MY_ICON_SIZE 32 #define REPOMENU_TITLE "Repository actions" #define WORKFOLDERMENU_TITLE "Workfolder actions" diff -r c560c3a27745 -r e376d572b0c4 settingsdialog.cpp --- a/settingsdialog.cpp Fri May 14 15:34:27 2010 +0300 +++ b/settingsdialog.cpp Fri May 14 16:09:41 2010 +0300 @@ -70,7 +70,13 @@ mainWnd -> firstStart = false; mainWnd -> userInfo = userInfoLineEdit->text(); mainWnd -> remoteRepoPath = remoteRepoLineEdit->text(); + mainWnd -> workFolderPath = workFolderLineEdit -> text(); + if (!mainWnd -> workFolderPath.endsWith(QDir::separator())) + { + mainWnd -> workFolderPath += QDir::separator(); + } + mainWnd -> writeSettings(); mainWnd -> enableDisableActions(); mainWnd -> hgStat();