summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/configureoptionswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/configureoptionswidget.cpp')
-rw-r--r--buildtools/autotools/configureoptionswidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp
index 1e877a5c..afb6f9b4 100644
--- a/buildtools/autotools/configureoptionswidget.cpp
+++ b/buildtools/autotools/configureoptionswidget.cpp
@@ -267,8 +267,8 @@ void ConfigureOptionsWidget::topsourcedirClicked()
void ConfigureOptionsWidget::configComboTextChanged(const TQString &config)
{
- bool canAdd = !allConfigs.tqcontains(config) && !config.tqcontains("/") && !config.isEmpty();
- bool canRemove = allConfigs.tqcontains(config) && config != "default";
+ bool canAdd = !allConfigs.contains(config) && !config.contains("/") && !config.isEmpty();
+ bool canRemove = allConfigs.contains(config) && config != "default";
addconfig_button->setEnabled(canAdd);
removeconfig_button->setEnabled(canRemove);
}
@@ -276,7 +276,7 @@ void ConfigureOptionsWidget::configComboTextChanged(const TQString &config)
void ConfigureOptionsWidget::configChanged(const TQString &config)
{
- if (config == currentConfig || !allConfigs.tqcontains(config))
+ if (config == currentConfig || !allConfigs.contains(config))
return;
if (!currentConfig.isNull() && dirty)