mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #200: Icons under dark theme on Arch/KDE is broken
This commit is contained in:
@ -52,15 +52,7 @@ int main(int argc, char *argv[])
|
||||
pdf::PDFSecurityHandler::setNoDRMMode();
|
||||
}
|
||||
|
||||
if (parser.isSet(lightGui))
|
||||
{
|
||||
pdf::PDFWidgetUtils::setDarkTheme(false);
|
||||
}
|
||||
|
||||
if (parser.isSet(darkGui))
|
||||
{
|
||||
pdf::PDFWidgetUtils::setDarkTheme(true);
|
||||
}
|
||||
pdf::PDFWidgetUtils::setDarkTheme(parser.isSet(lightGui), parser.isSet(darkGui));
|
||||
|
||||
QIcon appIcon(":/app-icon.svg");
|
||||
QApplication::setWindowIcon(appIcon);
|
||||
|
Reference in New Issue
Block a user