[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdewebdev/kommander/editor
From: Michal Rudolf <mrudolf () kdewebdev ! org>
Date: 2004-04-30 21:51:20
Message-ID: 20040430215120.949C89A3F () office ! kde ! org
[Download RAW message or body]
CVS commit by mrudolf:
Detect empty scripts better.
M +2 -2 assoctexteditorimpl.cpp 1.18
--- kdewebdev/kommander/editor/assoctexteditorimpl.cpp #1.17:1.18
@@ -113,7 +113,7 @@ void AssocTextEditor::setWidget(QWidget
int p_population = stateComboBox->count()-1;
for (int i=0; i<p_population; i++)
- if (!m_atdict[stateComboBox->text(i)].isNull())
+ if (!m_atdict[stateComboBox->text(i)].isEmpty())
stateComboBox->changeItem(scriptPixmap, stateComboBox->text(i), i);
- if (!m_populationText.isNull())
+ if (!m_populationText.isEmpty())
stateComboBox->changeItem(scriptPixmap, stateComboBox->text(p_population), p_population);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic