diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-21 22:56:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-21 22:56:50 +0000 |
commit | 710f9d6272b6964496da3d9d57a55da4e2c8e07d (patch) | |
tree | 3a5cb1277e7a9d1484dcd2d2364caf445aaf001c /filesharing/advanced | |
parent | e2e6ec17cf1177e4bb81609e8e884e000819dfdc (diff) | |
download | tdenetwork-710f9d6272b6964496da3d9d57a55da4e2c8e07d.tar.gz tdenetwork-710f9d6272b6964496da3d9d57a55da4e2c8e07d.zip |
Fix log messages
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1177996 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/dictmanager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/dictmanager.cpp b/filesharing/advanced/kcm_sambaconf/dictmanager.cpp index c2437f04..04eb0be7 100644 --- a/filesharing/advanced/kcm_sambaconf/dictmanager.cpp +++ b/filesharing/advanced/kcm_sambaconf/dictmanager.cpp @@ -2,7 +2,7 @@ dictmanager.cpp - description ------------------- begin : Wed Jan 1 2003 - copyright : (C) 2003 by Jan Sch�fer + copyright : (C) 2003 by Jan Sch�fer email : [email protected] ***************************************************************************/ @@ -164,7 +164,9 @@ void DictManager::loadComboBoxes(SambaShare* share, bool globalValue, bool defau comboIndex++; } - comboBoxIt.current()->setCurrentItem(comboIndex); + if (comboIndex < comboBoxIt.current()->count()) { + comboBoxIt.current()->setCurrentItem(comboIndex); + } } } |