Changeset 379
- Timestamp:
- Dec 4, 2009, 2:37:54 AM (15 years ago)
- Location:
- trunk/src/gui/kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r371 r379 889 889 } 890 890 break; 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 891 911 } 892 912 -
trunk/src/gui/kernel/qkeymapper_pm.cpp
r353 r379 71 71 KeyRecorder() : nrecs(0) {} 72 72 73 inline KeyRecord *findKey(int code, bool remove);73 inline KeyRecord *findKey(int , bool remove); 74 74 inline void storeKey(int scan, int code, int state, const QString& text); 75 75 inline void clearKeys(); … … 84 84 { 85 85 KeyRecord *result = 0; 86 87 88 89 86 90 for (int i = 0; i < nrecs; ++i) { 87 91 if (records[i].scan == scan) { … … 106 110 void KeyRecorder::storeKey(int scan, int code, int state, const QString& text) 107 111 { 112 113 114 108 115 Q_ASSERT_X(nrecs != QT_MAX_KEY_RECORDINGS, 109 116 "Internal KeyRecorder", … … 369 376 state = state ^ Qt::MetaModifier; 370 377 378 379 380 381 382 383 384 385 386 387 388 389 390 371 391 // KEYDOWN ----------------------------------------------------------------- 372 392 if (!(chm.fs & KC_KEYUP)) {
Note:
See TracChangeset
for help on using the changeset viewer.