LoadingWidget::LoadingWidget(QWidget *parent) : QWidget(parent) {
QPalette p = palette();
- p.setBrush(QPalette::Window, Qt::black);
+ p.setBrush(backgroundRole(), Qt::black);
p.setBrush(QPalette::Text, Qt::white);
setPalette(p);
#include "mac_startup.h"
#include "macfullscreen.h"
#endif
-#ifdef APP_WIN
-#include "local/win/qtwin.h"
-#endif
#include "iconloader/qticonloader.h"
int main(int argc, char **argv) {
#endif
#ifdef APP_WIN
- if (QtWin::isCompositionEnabled()) {
- QtWin::extendFrameIntoClientArea(&mainWin);
- mainWin.setContentsMargins(0, 0, 0, 0);
- }
app.setFont(QFont("Segoe UI", 9));
#endif
p.setBrush(QPalette::Window, Qt::black);
setPalette(p);
setAutoFillBackground(true);
- setStyleSheet("background:black");
#endif
// hidden message widget