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:
@ -44,6 +44,7 @@ GridComicsView::GridComicsView(QWidget *parent)
|
||||
ctxt->setContextProperty("borderColor", "#DBDBDB");
|
||||
ctxt->setContextProperty("titleColor", "#121212");
|
||||
ctxt->setContextProperty("textColor", "#636363");
|
||||
ctxt->setContextProperty("showDropShadow", QVariant(false));
|
||||
// fonts settings
|
||||
ctxt->setContextProperty("fontSize", 11);
|
||||
ctxt->setContextProperty("fontFamily", QApplication::font().family());
|
||||
@ -76,7 +77,7 @@ GridComicsView::GridComicsView(QWidget *parent)
|
||||
ctxt->setContextProperty("borderColor", "#121212");
|
||||
ctxt->setContextProperty("titleColor", "#FFFFFF");
|
||||
ctxt->setContextProperty("textColor", "#A8A8A8");
|
||||
ctxt->setContextProperty("dropShadow", QVariant(false));
|
||||
ctxt->setContextProperty("showDropShadow", QVariant(true));
|
||||
// fonts settings
|
||||
int fontSize = QApplication::font().pointSize();
|
||||
if (fontSize == -1)
|
||||
|
Reference in New Issue
Block a user