mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
29 lines
396 B
C++
29 lines
396 B
C++
|
#include "SystemTheme.h"
|
||
|
#include <QApplication>
|
||
|
#include <QStyle>
|
||
|
|
||
|
SystemTheme::SystemTheme()
|
||
|
{
|
||
|
systemPalette = QApplication::style()->standardPalette();
|
||
|
}
|
||
|
|
||
|
QString SystemTheme::id()
|
||
|
{
|
||
|
return "system";
|
||
|
}
|
||
|
|
||
|
QString SystemTheme::name()
|
||
|
{
|
||
|
return QObject::tr("System");
|
||
|
}
|
||
|
|
||
|
QPalette SystemTheme::colorScheme()
|
||
|
{
|
||
|
return systemPalette;
|
||
|
}
|
||
|
|
||
|
QString SystemTheme::appStyleSheet()
|
||
|
{
|
||
|
return QString();
|
||
|
}
|