mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Fixed #642 - The floating window can not back to normal size after maximizing it
This commit is contained in:
parent
cea1327dac
commit
04f6d9168e
@ -1331,7 +1331,8 @@ void CFloatingDockContainer::onMaximizeRequest()
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
void CFloatingDockContainer::showNormal(bool fixGeometry)
|
void CFloatingDockContainer::showNormal(bool fixGeometry)
|
||||||
{
|
{
|
||||||
if (windowState() == Qt::WindowMaximized)
|
if ( (windowState() & Qt::WindowMaximized) != 0 ||
|
||||||
|
(windowState() & Qt::WindowFullScreen) != 0)
|
||||||
{
|
{
|
||||||
QRect oldNormal = normalGeometry();
|
QRect oldNormal = normalGeometry();
|
||||||
Super::showNormal();
|
Super::showNormal();
|
||||||
|
Loading…
Reference in New Issue
Block a user