first commit
This commit is contained in:
12
project/fm_viewer/ui/rm_widget_checkbox.cpp
Normal file
12
project/fm_viewer/ui/rm_widget_checkbox.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "rm_widget_checkbox.h"
|
||||
#if !(SETUP_ONLY_BUILD)
|
||||
#include "../core/rm_key_event.h"
|
||||
|
||||
// ignore key event
|
||||
void RMWidgetCheckBox::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
if(event->isAutoRepeat() == false) {
|
||||
RMKeyEvent::instance()->pressed(event->key());
|
||||
}
|
||||
}
|
||||
#endif // #if !(SETUP_ONLY_BUILD)
|
||||
Reference in New Issue
Block a user