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:
parent
cffeec4814
commit
19636edc0c
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user