diff options
Diffstat (limited to 'buildtools/custommakefiles/custommakeconfigwidget.cpp')
| -rw-r--r-- | buildtools/custommakefiles/custommakeconfigwidget.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/buildtools/custommakefiles/custommakeconfigwidget.cpp b/buildtools/custommakefiles/custommakeconfigwidget.cpp index 6b27994e..d07e6dbe 100644 --- a/buildtools/custommakefiles/custommakeconfigwidget.cpp +++ b/buildtools/custommakefiles/custommakeconfigwidget.cpp @@ -61,8 +61,8 @@ CustomMakeConfigWidget::~CustomMakeConfigWidget()  void CustomMakeConfigWidget::envNameChanged(const TQString& envName)  {      TQStringList allEnvNames = m_part->allMakeEnvironments(); -    bool canAdd = !allEnvNames.tqcontains(envName) && !envName.tqcontains("/") && !envName.isEmpty(); -    bool canRemove = allEnvNames.tqcontains(envName) && allEnvNames.count() > 1; +    bool canAdd = !allEnvNames.contains(envName) && !envName.contains("/") && !envName.isEmpty(); +    bool canRemove = allEnvNames.contains(envName) && allEnvNames.count() > 1;      addenvs_button->setEnabled(canAdd);      copyenvs_button->setEnabled(canAdd);      removeenvs_button->setEnabled(canRemove); @@ -70,7 +70,7 @@ void CustomMakeConfigWidget::envNameChanged(const TQString& envName)  void CustomMakeConfigWidget::envChanged(const TQString& envName)  { -    if (envName == m_currentEnvironment || !m_allEnvironments.tqcontains(envName)) +    if (envName == m_currentEnvironment || !m_allEnvironments.contains(envName))          return;      // save settings of previously active environment | 
