Fix hide using minimize button

This commit is contained in:
Ximi1970
2020-02-25 00:14:18 +01:00
parent 1cd5dd14fc
commit 74d0c5679f
2 changed files with 19 additions and 0 deletions

View File

@@ -103,6 +103,17 @@ void WindowCtrlWin::normalizeWindow( quint64 window )
}
/*
* Hide a window
*/
void WindowCtrlWin::hideWindow( quint64 window , bool state )
{
if( state )
{
hideWindow( (HWND)window );
}
}
/*
* Hide a window
*/

View File

@@ -73,6 +73,14 @@ class WindowCtrlWin : public QObject
*/
void normalizeWindow( quint64 window );
/**
* @brief WindowCtrlWin::hideWindow
*
* @param window The window.
* @param state Hide from taskbar.
*/
void hideWindow( quint64 window , bool state );
private:
/**