mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Use ints for colors instead of string literals
This commit is contained in:
@ -51,7 +51,7 @@ YACReaderTranslator::YACReaderTranslator(Viewer *parent)
|
||||
this->setAutoFillBackground(true);
|
||||
this->setBackgroundRole(QPalette::Window);
|
||||
QPalette p(this->palette());
|
||||
p.setColor(QPalette::Window, QColor("#404040"));
|
||||
p.setColor(QPalette::Window, QColor(0x404040));
|
||||
this->setPalette(p);
|
||||
|
||||
auto layout = new QVBoxLayout(this);
|
||||
|
Reference in New Issue
Block a user