[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdemultimedia/juk
From: Stefan Asserhäll <stefan.asserhall () telia ! com>
Date: 2003-03-13 18:32:25
[Download RAW message or body]
CVS commit by asserhal:
Corrected definition of keyInfoCount
M +3 -3 keydialog.cpp 1.4
--- kdemultimedia/juk/keydialog.cpp #1.3:1.4
@@ -60,5 +60,5 @@ const KeyDialog::KeyInfo KeyDialog::keyI
};
-const uint KeyDialog::keyInfoCount = sizeof(KeyDialog::KeyInfo) / \
sizeof(KeyDialog::keyInfo[0]); +const uint KeyDialog::keyInfoCount = \
sizeof(KeyDialog::keyInfo) / sizeof(KeyDialog::keyInfo[0]);
KeyDialog::KeyDialog(KGlobalAccel *keys, KActionCollection *actionCollection, \
QWidget *parent, const char* name) @@ -132,5 +132,5 @@ void KeyDialog::slotKeys(int \
group)
// Set modifier keys according to key group and modifier keys
- for (unsigned int i = 0; i < keyInfoCount; i++)
+ for (uint i = 0; i < keyInfoCount; i++)
m_keys->setShortcut(keyInfo[i].action, \
keyInfo[i].shortcut[group][fourModKeys]);
@@ -166,5 +166,5 @@ void KeyDialog::insert(KGlobalAccel* key
// Find and insert a standard key
- for (unsigned int i = 0; i < keyInfoCount; i++)
+ for (uint i = 0; i < keyInfoCount; i++)
if (keyInfo[i].action == action) {
def3 = keyInfo[i].shortcut[StandardKeys][0];
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic