mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 00:11:21 +00:00
Drop old krazy comments
The `qclasses` check should no longer be an issue after the KF5 port. GIT_SILENT
This commit is contained in:
parent
ca25af6d38
commit
2050fe1781
|
@ -551,7 +551,7 @@ void DolphinMainWindow::selectAll()
|
||||||
// URL instead of all items of the view
|
// URL instead of all items of the view
|
||||||
|
|
||||||
KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
|
KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
|
||||||
QLineEdit* lineEdit = urlNavigator->editor()->lineEdit(); // krazy:exclude=qclasses
|
QLineEdit* lineEdit = urlNavigator->editor()->lineEdit();
|
||||||
const bool selectUrl = urlNavigator->isUrlEditable() &&
|
const bool selectUrl = urlNavigator->isUrlEditable() &&
|
||||||
lineEdit->hasFocus();
|
lineEdit->hasFocus();
|
||||||
if (selectUrl) {
|
if (selectUrl) {
|
||||||
|
@ -625,7 +625,7 @@ void DolphinMainWindow::replaceLocation()
|
||||||
navigator->setFocus();
|
navigator->setFocus();
|
||||||
|
|
||||||
// select the whole text of the combo box editor
|
// select the whole text of the combo box editor
|
||||||
QLineEdit* lineEdit = navigator->editor()->lineEdit(); // krazy:exclude=qclasses
|
QLineEdit* lineEdit = navigator->editor()->lineEdit();
|
||||||
lineEdit->selectAll();
|
lineEdit->selectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue