mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Set accessible name to selectHomeUrlButton
This commit is contained in:
parent
1b5b731621
commit
e6fd6f32b4
|
@ -65,6 +65,11 @@ StartupSettingsPage::StartupSettingsPage(const KUrl& url, QWidget* parent) :
|
||||||
m_homeUrl->setClearButtonShown(true);
|
m_homeUrl->setClearButtonShown(true);
|
||||||
|
|
||||||
QPushButton* selectHomeUrlButton = new QPushButton(KIcon("folder-open"), QString(), homeUrlBox);
|
QPushButton* selectHomeUrlButton = new QPushButton(KIcon("folder-open"), QString(), homeUrlBox);
|
||||||
|
|
||||||
|
#ifndef QT_NO_ACCESSIBILITY
|
||||||
|
selectHomeUrlButton->setAccessibleName(i18nc("@action:button", "Select Home Location"));
|
||||||
|
#endif
|
||||||
|
|
||||||
connect(selectHomeUrlButton, SIGNAL(clicked()),
|
connect(selectHomeUrlButton, SIGNAL(clicked()),
|
||||||
this, SLOT(selectHomeUrl()));
|
this, SLOT(selectHomeUrl()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue