diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-27 13:26:04 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-27 13:26:04 -0500 |
commit | 22d0a673d7d6049d388847b476df1e5b6f3d6b70 (patch) | |
tree | b6fc0fe18603cf23bfbcf480a169081b11a99beb /tdmlib/kgreet_winbind.cpp | |
parent | e899b7beb6b0f2db8c08dfdc14c29efb99046086 (diff) | |
download | tdebase-22d0a673d7d6049d388847b476df1e5b6f3d6b70.tar.gz tdebase-22d0a673d7d6049d388847b476df1e5b6f3d6b70.zip |
Check for tsak presence on lock engage
Fix tsak not exiting on request
Clean up build warnings
Diffstat (limited to 'tdmlib/kgreet_winbind.cpp')
-rw-r--r-- | tdmlib/kgreet_winbind.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp index d5626a3fd..85721dd45 100644 --- a/tdmlib/kgreet_winbind.cpp +++ b/tdmlib/kgreet_winbind.cpp @@ -607,14 +607,14 @@ KWinbindGreeter::slotEndDomainList() TQString current = domainCombo->currentText(); - for (int i = 0; i < domainList.count(); ++i) { - if (i < domainCombo->count()) + for (unsigned int i = 0; i < domainList.count(); ++i) { + if (i < (uint)domainCombo->count()) domainCombo->changeItem(domainList[i], i); else domainCombo->insertItem(domainList[i], i); } - while (domainCombo->count() > domainList.count()) + while ((uint)domainCombo->count() > domainList.count()) domainCombo->removeItem(domainCombo->count()-1); domainCombo->setCurrentItem( current ); |