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:
Guenther Grau 2022-05-18 02:14:17 +02:00 committed by Vlad Zahorodnii
parent a262f2b28a
commit f6f4a296f2

View file

@ -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);
}
}