mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Remove usage of Qt.platform.os
This commit is contained in:
@ -66,6 +66,8 @@ GridComicsView::GridComicsView(QWidget *parent)
|
||||
|
||||
ctxt->setContextProperty("readTickUncheckedColor", "#DEDEDE");
|
||||
ctxt->setContextProperty("readTickCheckedColor", "#E84852");
|
||||
|
||||
ctxt->setContextProperty("currentComicBackgroundColor", "#88FFFFFF");
|
||||
} else {
|
||||
ctxt->setContextProperty("backgroundColor", "#2A2A2A");
|
||||
ctxt->setContextProperty("cellColor", "#212121");
|
||||
@ -100,6 +102,8 @@ GridComicsView::GridComicsView(QWidget *parent)
|
||||
|
||||
ctxt->setContextProperty("readTickUncheckedColor", "#1C1C1C");
|
||||
ctxt->setContextProperty("readTickCheckedColor", "#E84852");
|
||||
|
||||
ctxt->setContextProperty("currentComicBackgroundColor", "#88000000");
|
||||
}
|
||||
|
||||
ctxt->setContextProperty("backgroundImage", QUrl());
|
||||
|
Reference in New Issue
Block a user