Fix argument order for clientMaximizedStateChanged
Arguments for clientMaximizedStateChanged were incorrect in window.cpp. They are correct in xdgshellclient.cpp and window.h BUG: 380836
This commit is contained in:
parent
a262f2b28a
commit
f6f4a296f2
1 changed files with 1 additions and 1 deletions
|
@ -1586,7 +1586,7 @@ void Window::setMaximize(bool vertically, bool horizontally)
|
|||
const MaximizeMode newMode = maximizeMode();
|
||||
if (oldMode != newMode) {
|
||||
Q_EMIT clientMaximizedStateChanged(this, newMode);
|
||||
Q_EMIT clientMaximizedStateChanged(this, vertically, horizontally);
|
||||
Q_EMIT clientMaximizedStateChanged(this, horizontally, vertically);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue