Set accessible name to selectHomeUrlButton

This commit is contained in:
José Millán Soto 2012-09-22 20:35:36 +02:00
parent 1b5b731621
commit e6fd6f32b4

View file

@ -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()));