projects
/
presencevnc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
debc206
)
keep cursor position in connect dialog
author
Christian Pulvermacher
<christian@hazel.(none)>
Wed, 6 Oct 2010 17:01:17 +0000
(19:01 +0200)
committer
Christian Pulvermacher
<christian@hazel.(none)>
Wed, 6 Oct 2010 17:01:17 +0000
(19:01 +0200)
src/connectdialog.cpp
patch
|
blob
|
history
diff --git
a/src/connectdialog.cpp
b/src/connectdialog.cpp
index
ed3ca0f
..
55c7bf5
100644
(file)
--- a/
src/connectdialog.cpp
+++ b/
src/connectdialog.cpp
@@
-95,7
+95,9
@@
void ConnectDialog::hostnameUpdated(QString newtext)
//clean up hostname
newtext.remove(QChar('/'));
newtext.remove(QChar('\\'));
+ int cursorpos = hosts.lineEdit()->cursorPosition();
hosts.lineEdit()->setText(newtext.toLower());
+ hosts.lineEdit()->setCursorPosition(cursorpos);
#ifdef Q_WS_MAEMO_5
//saved quality setting available?