From a52b2ee6cce646181ce37fad37d7abaad4db3719 Mon Sep 17 00:00:00 2001 From: Sergey Chupligin Date: Fri, 7 Feb 2025 18:37:19 +0300 Subject: [PATCH] Code cleanup --- src/core/plugin.cpp | 2 +- src/core/theme.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/plugin.cpp b/src/core/plugin.cpp index 50a6106..07c5012 100644 --- a/src/core/plugin.cpp +++ b/src/core/plugin.cpp @@ -1,7 +1,7 @@ #include "plugin.h" #include "nemoimageprovider.h" -#include "theme.h" #include "sizing.h" +#include "theme.h" #include void QQuickNemoControlsExtensionPlugin::registerTypes(const char* uri) diff --git a/src/core/theme.h b/src/core/theme.h index 1cb0125..cf09375 100644 --- a/src/core/theme.h +++ b/src/core/theme.h @@ -69,7 +69,7 @@ class Theme : public QObject { public: explicit Theme(QObject* parent = nullptr); - Sizing* size() const {return m_size;} + Sizing* size() const { return m_size; } Q_INVOKABLE bool loadTheme(const QString fileName); qreal itemWidthLarge() const { return m_itemWidthLarge; } @@ -110,7 +110,7 @@ class Theme : public QObject { qreal iconSizeLauncher() const { return m_iconSizeLauncher; } QString themePath() const { return m_theme; } - qreal itemWidthExtraLarge() const {return m_itemHeightExtraLarge; } + qreal itemWidthExtraLarge() const { return m_itemHeightExtraLarge; } signals: void themeUpdated();