style: run-run clang-format on launcher/*
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me>
This commit is contained in:
@@ -180,12 +180,9 @@ void ThemeManager::initializeWidgets()
|
||||
}
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
void ThemeManager::setTitlebarColorOnMac(WId windowId, QColor color)
|
||||
{}
|
||||
void ThemeManager::setTitlebarColorOfAllWindowsOnMac(QColor color)
|
||||
{}
|
||||
void ThemeManager::stopSettingNewWindowColorsOnMac()
|
||||
{}
|
||||
void ThemeManager::setTitlebarColorOnMac(WId windowId, QColor color) {}
|
||||
void ThemeManager::setTitlebarColorOfAllWindowsOnMac(QColor color) {}
|
||||
void ThemeManager::stopSettingNewWindowColorsOnMac() {}
|
||||
#endif
|
||||
|
||||
QList<IconTheme*> ThemeManager::getValidIconThemes()
|
||||
|
||||
@@ -27,12 +27,10 @@
|
||||
#include "ui/themes/CatPack.h"
|
||||
#include "ui/themes/ITheme.h"
|
||||
|
||||
inline auto themeDebugLog()
|
||||
{
|
||||
inline auto themeDebugLog() {
|
||||
return qDebug() << "[Theme]";
|
||||
}
|
||||
inline auto themeWarningLog()
|
||||
{
|
||||
inline auto themeWarningLog() {
|
||||
return qWarning() << "[Theme]";
|
||||
}
|
||||
|
||||
@@ -65,9 +63,9 @@ class ThemeManager {
|
||||
private:
|
||||
std::map<QString, std::unique_ptr<ITheme>> m_themes;
|
||||
std::map<QString, IconTheme> m_icons;
|
||||
QDir m_iconThemeFolder{ "iconthemes" };
|
||||
QDir m_applicationThemeFolder{ "themes" };
|
||||
QDir m_catPacksFolder{ "catpacks" };
|
||||
QDir m_iconThemeFolder{"iconthemes"};
|
||||
QDir m_applicationThemeFolder{"themes"};
|
||||
QDir m_catPacksFolder{"catpacks"};
|
||||
std::map<QString, std::unique_ptr<CatPack>> m_catPacks;
|
||||
QPalette m_defaultPalette;
|
||||
QString m_defaultStyle;
|
||||
@@ -93,6 +91,6 @@ class ThemeManager {
|
||||
NSObject* m_windowTitlebarObserver = nullptr;
|
||||
#endif
|
||||
|
||||
const QStringList builtinIcons{ "pe_colored", "pe_light", "pe_dark", "pe_blue", "breeze_light", "breeze_dark",
|
||||
"OSX", "iOS", "flat", "flat_white", "multimc" };
|
||||
const QStringList builtinIcons{"pe_colored", "pe_light", "pe_dark", "pe_blue", "breeze_light", "breeze_dark",
|
||||
"OSX", "iOS", "flat", "flat_white", "multimc"};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user