1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Formatting

This commit is contained in:
Elias Steurer 2021-05-09 12:00:25 +02:00
parent 6960a419ba
commit fa95faca1a
3 changed files with 11 additions and 9 deletions

View File

@ -140,6 +140,7 @@ void ScreenPlaySDK::readyRead()
void ScreenPlaySDK::error(QLocalSocket::LocalSocketError socketError) void ScreenPlaySDK::error(QLocalSocket::LocalSocketError socketError)
{ {
Q_UNUSED(socketError)
emit sdkDisconnected(); emit sdkDisconnected();
} }

View File

@ -18,6 +18,7 @@ BaseWindow::BaseWindow(
, m_debugMode(debugMode) , m_debugMode(debugMode)
, m_sdk(std::make_unique<ScreenPlaySDK>(appID, type)) , m_sdk(std::make_unique<ScreenPlaySDK>(appID, type))
{ {
qInfo() << "parent";
QApplication::instance()->installEventFilter(this); QApplication::instance()->installEventFilter(this);
qRegisterMetaType<ScreenPlay::InstalledType::InstalledType>(); qRegisterMetaType<ScreenPlay::InstalledType::InstalledType>();
@ -30,7 +31,7 @@ BaseWindow::BaseWindow(
qmlRegisterType<BaseWindow>("ScreenPlay.Wallpaper", 1, 0, "Wallpaper"); qmlRegisterType<BaseWindow>("ScreenPlay.Wallpaper", 1, 0, "Wallpaper");
if (!appID.contains("appID=")) { if (!appID.contains("appID=")) {
qInfo() << "Invalid appID: "<< appID; qInfo() << "Invalid appID: " << appID;
qFatal("AppID does not contain appID="); qFatal("AppID does not contain appID=");
} }

View File

@ -51,14 +51,14 @@
class MacWindow : public BaseWindow { class MacWindow : public BaseWindow {
Q_OBJECT Q_OBJECT
public: public:
explicit MacWindow( const QVector<int>& activeScreensList, explicit MacWindow(const QVector<int>& activeScreensList,
const QString& projectFilePath, const QString& projectFilePath,
const QString& appID, const QString& appID,
const QString& volume, const QString& volume,
const QString& fillmode, const QString& fillmode,
const QString& type, const QString& type,
const bool checkWallpaperVisible, const bool checkWallpaperVisible,
const bool debugMode); const bool debugMode);
signals: signals: