mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix compiler warning
This commit is contained in:
parent
2b6493c4e5
commit
babcaac97f
@ -8,6 +8,7 @@ VApplication::VApplication(int &argc, char **argv)
|
|||||||
|
|
||||||
void VApplication::onApplicationStateChanged(Qt::ApplicationState state)
|
void VApplication::onApplicationStateChanged(Qt::ApplicationState state)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(state);
|
||||||
#if defined(Q_OS_MACOS) || defined(Q_OS_MAC)
|
#if defined(Q_OS_MACOS) || defined(Q_OS_MAC)
|
||||||
if(state == Qt::ApplicationActive) {
|
if(state == Qt::ApplicationActive) {
|
||||||
this->window->show();
|
this->window->show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user