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

Fix not initialized QJsonParseError

This commit is contained in:
Elias Steurer 2020-11-07 14:02:51 +01:00
parent 1fde330685
commit 2a659b1538
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ WidgetWindow::WidgetWindow(
} else {
QFile configTmp;
QJsonDocument configJsonDocument;
QJsonParseError parseError;
QJsonParseError parseError{};
configTmp.setFileName(projectPath + "/project.json");
configTmp.open(QIODevice::ReadOnly | QIODevice::Text);

View File

@ -154,6 +154,7 @@ public slots:
}
QPointF cursorPos() { return QCursor::pos(); }
#ifdef Q_OS_WIN
void setWindowBlur(unsigned int style = 3);
#endif