Remove an unused variable in qwasmwindow
isMinimized in QWasmWindow::getTitleBarControlRect is unused. Remove it. Change-Id: Iee0a351d4d20d5436fe45a18543d0811b8443459 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
parent
2436e259ce
commit
dfc82f7917
@ -335,7 +335,6 @@ QRect QWasmWindow::getTitleBarControlRect(const TitleBarOptions &tb, TitleBarCon
|
||||
const int delta = controlHeight + controlMargin;
|
||||
int offset = 0;
|
||||
|
||||
bool isMinimized = tb.state & Qt::WindowMinimized;
|
||||
bool isMaximized = tb.state & Qt::WindowMaximized;
|
||||
|
||||
ret = tb.rect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user