1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-05 18:42:29 +01:00

Add error message

This commit is contained in:
Elias Steurer 2020-07-03 14:37:43 +02:00
parent cffeec4814
commit 19636edc0c
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ int main(int argc, char* argv[])
}
ScreenPlaySDK sdk(argumentList.at(2), argumentList.at(3));
// 1. Project path, 2. AppID, 3. Type
WidgetWindow spwmw(argumentList.at(1), argumentList.at(2), argumentList.at(3));
QObject::connect(&sdk, &ScreenPlaySDK::sdkDisconnected, &spwmw, &WidgetWindow::qmlExit);

View File

@ -40,7 +40,7 @@ WidgetWindow::WidgetWindow(const QString projectPath, const QString appid, const
configJsonDocument = QJsonDocument::fromJson(m_projectConfig.toUtf8(), &parseError);
if (!(parseError.error == QJsonParseError::NoError)) {
qWarning("Settings Json Parse Error ");
qWarning() << "Settings Json Parse Error " << parseError.errorString() << configTmp.fileName();
}
m_project = configJsonDocument.object();