Commit 64182fee authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Set button text directly in UI files to empty string, drop temp strings

parent 6dfc02bd
......@@ -43,7 +43,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Add</string>
<string/>
</property>
<property name="icon">
<iconset theme="list-add"/>
......@@ -59,7 +59,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Remove</string>
<string/>
</property>
<property name="icon">
<iconset theme="list-remove"/>
......
......@@ -52,8 +52,6 @@ CMakePreferences::CMakePreferences(IPlugin* plugin, const ProjectConfigOptions&
m_prefsUi = new Ui::CMakeBuildSettings;
m_prefsUi->setupUi(this);
m_prefsUi->addBuildDir->setText(QString());
m_prefsUi->removeBuildDir->setText(QString());
m_prefsUi->cacheList->setItemDelegate(new CMakeCacheDelegate(m_prefsUi->cacheList));
m_prefsUi->cacheList->setSelectionMode(QAbstractItemView::SingleSelection);
m_prefsUi->cacheList->horizontalHeader()->setStretchLastSection(true);
......
......@@ -45,10 +45,6 @@ QMakeBuilderPreferences::QMakeBuilderPreferences(KDevelop::IPlugin* plugin,
m_prefsUi = new Ui::QMakeConfig;
m_prefsUi->setupUi(this);
// display icons instead of text
m_prefsUi->addButton->setText(QString());
m_prefsUi->removeButton->setText(QString());
m_chooserUi = new QMakeBuildDirChooser(m_project);
auto groupBoxLayout = new QVBoxLayout(m_prefsUi->groupBox);
groupBoxLayout->addWidget(m_chooserUi);
......
......@@ -28,7 +28,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Add</string>
<string/>
</property>
<property name="icon">
<iconset theme="list-add"/>
......@@ -44,7 +44,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Remove</string>
<string/>
</property>
<property name="icon">
<iconset theme="list-remove"/>
......
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