Move QWINDOWSIZE_MAX to platform headers
QWINDOWSIZE_MAX is needed to implement platform plugins and Wayland shell integrations. Moving the #define from qwindow_p.h to qplatformwindow.h makes it available from a supported header file. This should not break anything, since qwindow_p.h includes qplatformwindow.h Change-Id: Ie003b1e9d6494695057d59aba5a17ad7fd51c654 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
b8191f41c6
commit
d7b02e8cbf
@ -60,6 +60,7 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define QWINDOWSIZE_MAX ((1<<24)-1)
|
||||
|
||||
class QPlatformScreen;
|
||||
class QPlatformWindowPrivate;
|
||||
|
@ -62,8 +62,6 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#define QWINDOWSIZE_MAX ((1<<24)-1)
|
||||
|
||||
class Q_GUI_EXPORT QWindowPrivate : public QObjectPrivate
|
||||
{
|
||||
Q_DECLARE_PUBLIC(QWindow)
|
||||
|
Loading…
x
Reference in New Issue
Block a user