mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #99: Icons for dark mode
This commit is contained in:
@ -192,6 +192,11 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
}
|
||||
}
|
||||
|
||||
if (pdf::PDFWidgetUtils::isDarkTheme())
|
||||
{
|
||||
pdf::PDFWidgetUtils::convertActionsForDarkTheme(actions, iconSize, qGuiApp->devicePixelRatio());
|
||||
}
|
||||
|
||||
// Initialize pixmap cache size
|
||||
const int depth = 4; // 4 bytes (ARGB)
|
||||
const int reserveSize = 2; // Caching of two screens
|
||||
|
Reference in New Issue
Block a user