author | zecke <zecke> | 2004-04-02 06:43:42 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-02 06:43:42 (UTC) |
commit | a31c8ad914e72b874062dcb31e72476aca735bb0 (patch) (unidiff) | |
tree | 2db1bfd49893369c4ab71bec0e546527c01d6bcd | |
parent | fbe21a008888cef12eb863151b4aaee1e75f0f22 (diff) | |
download | opie-a31c8ad914e72b874062dcb31e72476aca735bb0.zip opie-a31c8ad914e72b874062dcb31e72476aca735bb0.tar.gz opie-a31c8ad914e72b874062dcb31e72476aca735bb0.tar.bz2 |
Add OKeyConfigWidget to the .pro file
and also allow single character shortcuts
-rw-r--r-- | libopie2/opieui/okeyconfigwidget.cpp | 7 | ||||
-rw-r--r-- | libopie2/opieui/opieui.pro | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/libopie2/opieui/okeyconfigwidget.cpp b/libopie2/opieui/okeyconfigwidget.cpp index 8967d77..ef6d713 100644 --- a/libopie2/opieui/okeyconfigwidget.cpp +++ b/libopie2/opieui/okeyconfigwidget.cpp | |||
@@ -1190,8 +1190,9 @@ void OKeyChooserConfigDialog::keyPressEvent( QKeyEvent* ev ) { | |||
1190 | } | 1190 | } |
1191 | if (mod ) | 1191 | if (mod ) { |
1192 | m_mod |= mod; | 1192 | m_mod |= mod; |
1193 | else | 1193 | key = 0; |
1194 | }else | ||
1194 | m_key = key; | 1195 | m_key = key; |
1195 | 1196 | ||
1196 | if ( ( !mod || m_key ) && !m_timer->isActive() ) | 1197 | if ( ( !mod || m_key || key ) && !m_timer->isActive() ) |
1197 | m_timer->start( 150, true ); | 1198 | m_timer->start( 150, true ); |
diff --git a/libopie2/opieui/opieui.pro b/libopie2/opieui/opieui.pro index 0749f7d..e97e82c 100644 --- a/libopie2/opieui/opieui.pro +++ b/libopie2/opieui/opieui.pro | |||
@@ -7,2 +7,3 @@ HEADERS = oclickablelabel.h \ | |||
7 | oimageeffect.h \ | 7 | oimageeffect.h \ |
8 | okeyconfigwidget.h \ | ||
8 | olistview.h \ | 9 | olistview.h \ |
@@ -27,2 +28,3 @@ SOURCES = oclickablelabel.cpp \ | |||
27 | oimageeffect.cpp \ | 28 | oimageeffect.cpp \ |
29 | okeyconfigwidget.cpp \ | ||
28 | olistview.cpp \ | 30 | olistview.cpp \ |