Revive dark theme detection

The code was removed in 199d770e15 and now revived.
This commit is contained in:
Chocobo1
2022-09-17 01:12:12 +08:00
parent 5e4a94e6b6
commit 0e0b8d1027
2 changed files with 11 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ class QWidget;
namespace Utils::Gui
{
bool isDarkTheme();
QPixmap scaledPixmap(const QIcon &icon, const QWidget *widget, int height);
QPixmap scaledPixmap(const Path &path, const QWidget *widget, int height = 0);
QPixmap scaledPixmapSvg(const Path &path, const QWidget *widget, int height);