Mercurial > hg > easyhg
diff settingsdialog.cpp @ 64:794db9353c7f
* Start rejigging the settings/repo-path dialog setup: startup dialog now asks for user name and email only
author | Chris Cannam |
---|---|
date | Wed, 17 Nov 2010 17:49:16 +0000 |
parents | 2340b00561d2 |
children | 3e6c3281fb97 |
line wrap: on
line diff
--- a/settingsdialog.cpp Wed Nov 17 14:26:27 2010 +0000 +++ b/settingsdialog.cpp Wed Nov 17 17:49:16 2010 +0000 @@ -31,7 +31,7 @@ mainWnd = (MainWindow *) parent; userInfoLabel = new QLabel(tr("User info for commits, e.g. John Smith <john.smith@mail.com>")); - userInfoLineEdit = new QLineEdit(mainWnd->userInfo); + userInfoLineEdit = new QLineEdit("");//!!!mainWnd->userInfo); userInfoLabel -> setBuddy(userInfoLineEdit); remoteRepoLabel = new QLabel(tr("Remote repository path, e.g. http://192.168.1.10:8000/ or /home/mike/anotherrepo/ or c:\\anotherrepo\\")); @@ -101,8 +101,8 @@ { QString tmp; - mainWnd -> firstStart = false; - mainWnd -> userInfo = userInfoLineEdit->text(); +//!!! mainWnd -> firstStart = false; +//!!! mainWnd -> userInfo = userInfoLineEdit->text(); if (mainWnd -> remoteRepoPath != remoteRepoCombo-> currentText()) {