mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-29 18:54:07 +00:00
mouse click on projectM widget now steals focus
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@835 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -127,6 +127,10 @@ class QProjectMWidget : public QGLWidget
|
||||
m_projectM->setPresetLock((bool)state);
|
||||
emit(presetLockChanged((bool)state));
|
||||
}
|
||||
|
||||
void mousePressEvent ( QMouseEvent * event ) {
|
||||
this->setFocus();
|
||||
}
|
||||
signals:
|
||||
void projectM_BeforeDestroy();
|
||||
void projectM_Initialized(QProjectM *);
|
||||
|
||||
Reference in New Issue
Block a user