window drawing bugfix

This commit is contained in:
Geoffray Levasseur committed 2026-11-04 14:05:01 +01:00
1 parent 6f3556009a
commit 19006fac6c
5 files changed
+36 -27

No files matched your search

+2
View File
@@ -44,6 +44,8 @@ namespace Cevo {
DrawDlg::DrawDlg(QWidget *parent) : Dpi::Form(parent)
{
// The original's dialogs are borderless (BorderStyle = bsNone): they draw their own frame and title.
setWindowFlag(Qt::FramelessWindowHint, true);
QPalette pal = palette();
pal.setColor(QPalette::Window, Qt::black);
setPalette(pal);