From fa95faca1aa87015bd1bed831ec6c9e8ef4fc6b0 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sun, 9 May 2021 12:00:25 +0200 Subject: [PATCH] Formatting --- ScreenPlaySDK/src/screenplaysdk.cpp | 1 + ScreenPlayWallpaper/src/basewindow.cpp | 3 ++- ScreenPlayWallpaper/src/macwindow.h | 16 ++++++++-------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ScreenPlaySDK/src/screenplaysdk.cpp b/ScreenPlaySDK/src/screenplaysdk.cpp index 04147e7c..bc158017 100644 --- a/ScreenPlaySDK/src/screenplaysdk.cpp +++ b/ScreenPlaySDK/src/screenplaysdk.cpp @@ -140,6 +140,7 @@ void ScreenPlaySDK::readyRead() void ScreenPlaySDK::error(QLocalSocket::LocalSocketError socketError) { + Q_UNUSED(socketError) emit sdkDisconnected(); } diff --git a/ScreenPlayWallpaper/src/basewindow.cpp b/ScreenPlayWallpaper/src/basewindow.cpp index 788bcbfc..dc152e9d 100644 --- a/ScreenPlayWallpaper/src/basewindow.cpp +++ b/ScreenPlayWallpaper/src/basewindow.cpp @@ -18,6 +18,7 @@ BaseWindow::BaseWindow( , m_debugMode(debugMode) , m_sdk(std::make_unique(appID, type)) { + qInfo() << "parent"; QApplication::instance()->installEventFilter(this); qRegisterMetaType(); @@ -30,7 +31,7 @@ BaseWindow::BaseWindow( qmlRegisterType("ScreenPlay.Wallpaper", 1, 0, "Wallpaper"); if (!appID.contains("appID=")) { - qInfo() << "Invalid appID: "<< appID; + qInfo() << "Invalid appID: " << appID; qFatal("AppID does not contain appID="); } diff --git a/ScreenPlayWallpaper/src/macwindow.h b/ScreenPlayWallpaper/src/macwindow.h index 50ac64a2..d47591fe 100644 --- a/ScreenPlayWallpaper/src/macwindow.h +++ b/ScreenPlayWallpaper/src/macwindow.h @@ -51,14 +51,14 @@ class MacWindow : public BaseWindow { Q_OBJECT public: - explicit MacWindow( const QVector& activeScreensList, - const QString& projectFilePath, - const QString& appID, - const QString& volume, - const QString& fillmode, - const QString& type, - const bool checkWallpaperVisible, - const bool debugMode); + explicit MacWindow(const QVector& activeScreensList, + const QString& projectFilePath, + const QString& appID, + const QString& volume, + const QString& fillmode, + const QString& type, + const bool checkWallpaperVisible, + const bool debugMode); signals: