mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
remove extra lines
This commit is contained in:
parent
279997d905
commit
27a404d0ea
2 changed files with 0 additions and 2 deletions
|
@ -6485,7 +6485,6 @@ void Application::windowMinimizedChanged(bool minimized) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void Application::postLambdaEvent(std::function<void()> f) {
|
||||
if (this->thread() == QThread::currentThread()) {
|
||||
f();
|
||||
|
|
|
@ -105,7 +105,6 @@ void MainWindow::hideEvent(QHideEvent* event) {
|
|||
void MainWindow::changeEvent(QEvent* event) {
|
||||
if (event->type() == QEvent::WindowStateChange) {
|
||||
QWindowStateChangeEvent* stateChangeEvent = static_cast<QWindowStateChangeEvent*>(event);
|
||||
|
||||
if ((stateChangeEvent->oldState() == Qt::WindowNoState ||
|
||||
stateChangeEvent->oldState() == Qt::WindowMaximized) &&
|
||||
windowState() == Qt::WindowMinimized) {
|
||||
|
|
Loading…
Reference in a new issue