Update Application.cpp

This commit is contained in:
Ryan Cao 2022-06-12 11:44:04 +08:00 committed by GitHub
parent 529fb07b42
commit 13b03e7e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -967,7 +967,6 @@ bool Application::event(QEvent* event) {
if (m_prevAppState == Qt::ApplicationActive if (m_prevAppState == Qt::ApplicationActive
&& ev->applicationState() == Qt::ApplicationActive) { && ev->applicationState() == Qt::ApplicationActive) {
qDebug() << "Clicked on dock!";
emit clickedOnDock(); emit clickedOnDock();
} }
m_prevAppState = ev->applicationState(); m_prevAppState = ev->applicationState();