mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 11:28:49 +03:00
28 lines
509 B
C++
28 lines
509 B
C++
|
// SPDX-FileCopyrightText: 2021 Nheko Contributors
|
||
|
//
|
||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
|
||
|
#include "NhekoGlobalObject.h"
|
||
|
|
||
|
#include "UserSettingsPage.h"
|
||
|
|
||
|
Nheko::Nheko()
|
||
|
{
|
||
|
connect(
|
||
|
UserSettings::instance().get(), &UserSettings::themeChanged, this, &Nheko::colorsChanged);
|
||
|
}
|
||
|
|
||
|
QPalette
|
||
|
Nheko::colors() const
|
||
|
{
|
||
|
return QPalette();
|
||
|
}
|
||
|
|
||
|
QPalette
|
||
|
Nheko::inactiveColors() const
|
||
|
{
|
||
|
QPalette p;
|
||
|
p.setCurrentColorGroup(QPalette::ColorGroup::Inactive);
|
||
|
return p;
|
||
|
}
|