fix: regression of default window color from white to black

This commit is contained in:
outfoxxed 2024-02-16 21:17:05 -08:00
parent 1da43be6c0
commit d967d56d3b
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -3,6 +3,7 @@
#include <qcolor.h> #include <qcolor.h>
#include <qcontainerfwd.h> #include <qcontainerfwd.h>
#include <qevent.h> #include <qevent.h>
#include <qnamespace.h>
#include <qobject.h> #include <qobject.h>
#include <qqmllist.h> #include <qqmllist.h>
#include <qqmlparserstatus.h> #include <qqmlparserstatus.h>
@ -148,7 +149,7 @@ protected:
bool mVisible = false; bool mVisible = false;
qint32 mWidth = 100; qint32 mWidth = 100;
qint32 mHeight = 100; qint32 mHeight = 100;
QColor mColor; QColor mColor = Qt::white;
PendingRegion* mMask = nullptr; PendingRegion* mMask = nullptr;
QQuickWindow* window = nullptr; QQuickWindow* window = nullptr;