[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/dolphin/src
From: Sebastian Doerner <sebastian () sebastian-doerner ! de>
Date: 2011-01-16 21:18:19
Message-ID: 20110116211819.39448AC8B5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1214916 by doerner:
Simplify DolphinMainWindow::replaceLocation()
M +1 -3 dolphinmainwindow.cpp
--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #1214915:1214916
@@ -844,12 +844,10 @@
{
KUrlNavigator* navigator = m_activeViewContainer->urlNavigator();
navigator->setUrlEditable(true);
- navigator->setFocus();
// select the whole text of the combo box editor
QLineEdit* lineEdit = navigator->editor()->lineEdit(); // krazy:exclude=qclasses
- const QString text = lineEdit->text();
- lineEdit->setSelection(0, text.length());
+ lineEdit->selectAll();
}
void DolphinMainWindow::togglePanelLockState()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic