mirror of https://github.com/procxx/kepka.git
activate app after openfile event (url open)
This commit is contained in:
parent
0f414c1d5a
commit
99d0d6defa
|
@ -743,6 +743,7 @@ bool Window::eventFilter(QObject *obj, QEvent *evt) {
|
|||
cSetStartUrl(QString());
|
||||
}
|
||||
}
|
||||
activate();
|
||||
} else if (obj == this && evt->type() == QEvent::WindowStateChange) {
|
||||
Qt::WindowState state = (windowState() & Qt::WindowMinimized) ? Qt::WindowMinimized : ((windowState() & Qt::WindowMaximized) ? Qt::WindowMaximized : ((windowState() & Qt::WindowFullScreen) ? Qt::WindowFullScreen : Qt::WindowNoState));
|
||||
psStateChanged(state);
|
||||
|
|
Loading…
Reference in New Issue