This commit is contained in:
Your Name
2024-05-03 22:09:40 -05:00
parent 777b2d67f8
commit 4b6e53220e

View File

@@ -46,7 +46,7 @@ static void drawIconGif(QPainter &p, const QPoint &center, const QMovie &img, co
} }
OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent), scene(uiState()->scene) { OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent), scene(uiState()->scene) {
bg = QLinearGradient(0, height(), 0, 0); // Initialize bg to a default color bg = QColor(0x17, 0x33, 0x49, 0xc8); // init to a default color
QVBoxLayout *main_layout = new QVBoxLayout(this); QVBoxLayout *main_layout = new QVBoxLayout(this);
main_layout->setMargin(UI_BORDER_SIZE); main_layout->setMargin(UI_BORDER_SIZE);
QStackedLayout *stacked_layout = new QStackedLayout; QStackedLayout *stacked_layout = new QStackedLayout;