fix compiler warning

This commit is contained in:
Le Tan 2019-12-10 20:54:03 +08:00
parent 2b6493c4e5
commit babcaac97f

View File

@ -8,6 +8,7 @@ VApplication::VApplication(int &argc, char **argv)
void VApplication::onApplicationStateChanged(Qt::ApplicationState state)
{
Q_UNUSED(state);
#if defined(Q_OS_MACOS) || defined(Q_OS_MAC)
if(state == Qt::ApplicationActive) {
this->window->show();