Commit 658ab5c6 authored by Eike Ziller's avatar Eike Ziller
Browse files

Locator: Fix wrong use of localized string in settings



It was accidentally overwriting the text of a label with the text
intended for the tool tip.

Change-Id: Ie6e52413660d7959399029c10b7fafb3197ee2f6
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>
parent cc910236
......@@ -100,7 +100,7 @@ bool DirectoryFilter::openConfigDialog(QWidget *parent, bool &needsRefresh)
m_ui.prefixLabel->setText(ILocatorFilter::msgPrefixLabel());
m_ui.prefixLabel->setToolTip(ILocatorFilter::msgPrefixToolTip());
m_ui.defaultFlag->setText(ILocatorFilter::msgIncludeByDefault());
m_ui.defaultFlag->setText(ILocatorFilter::msgIncludeByDefaultToolTip());
m_ui.defaultFlag->setToolTip(ILocatorFilter::msgIncludeByDefaultToolTip());
connect(m_ui.addButton, &QPushButton::clicked,
this, &DirectoryFilter::addDirectory, Qt::DirectConnection);
connect(m_ui.editButton, &QPushButton::clicked,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment