qt:Show the entire Window when double clicking on taskbar
This commit is contained in:
parent
0d6992168c
commit
67bf2aa68e
1 changed files with 5 additions and 0 deletions
|
@ -968,6 +968,11 @@ void BitcoinGUI::changeEvent(QEvent *e)
|
||||||
QTimer::singleShot(0, this, SLOT(hide()));
|
QTimer::singleShot(0, this, SLOT(hide()));
|
||||||
e->ignore();
|
e->ignore();
|
||||||
}
|
}
|
||||||
|
else if((wsevt->oldState() & Qt::WindowMinimized) && !isMinimized())
|
||||||
|
{
|
||||||
|
QTimer::singleShot(0, this, SLOT(show()));
|
||||||
|
e->ignore();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue