Skip to content

Commit

Permalink
Fixup codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Feb 10, 2025
1 parent f60689f commit 61fbb61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/core/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* Boston, MA 02110-1301, USA.
*/


#include "plugin.h"
#include "nemoimageprovider.h"
#include "theme.h"
Expand Down
10 changes: 5 additions & 5 deletions src/core/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
#include "theme.h"
#include "logging.h"

#include <MDConfItem>
#include <QFile>
#include <QScreen>
#include <QGuiApplication>
#include <QJsonDocument>
#include <QJsonObject>
#include <QScreen>
#include <math.h>
#include <QGuiApplication>
#include <MDConfItem>

static Theme* themeInstance = 0;

Expand Down Expand Up @@ -62,11 +62,11 @@ Theme::Theme(QObject* parent)
}
}

QObject *Theme::qmlInstance(QQmlEngine *engine, QJSEngine *scriptEngine)
QObject* Theme::qmlInstance(QQmlEngine* engine, QJSEngine* scriptEngine)
{
Q_UNUSED(engine);
Q_UNUSED(scriptEngine);
if(!themeInstance) {
if (!themeInstance) {
themeInstance = new Theme();
}
return themeInstance;
Expand Down
2 changes: 1 addition & 1 deletion src/core/theme.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Theme : public QObject {

public:
explicit Theme(QObject* parent = nullptr);
static QObject *qmlInstance(QQmlEngine *engine, QJSEngine *scriptEngine);
static QObject* qmlInstance(QQmlEngine* engine, QJSEngine* scriptEngine);

Q_INVOKABLE bool loadTheme(const QString fileName);
Q_INVOKABLE float dp(float value);
Expand Down

0 comments on commit 61fbb61

Please sign in to comment.