1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02: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)
{
Q_UNUSED(socketError)
emit sdkDisconnected();
}

View File

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

View File

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