diff --git a/ScreenPlayWidget/src/widgetwindow.cpp b/ScreenPlayWidget/src/widgetwindow.cpp index 28884cc5..398d90d6 100644 --- a/ScreenPlayWidget/src/widgetwindow.cpp +++ b/ScreenPlayWidget/src/widgetwindow.cpp @@ -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); diff --git a/ScreenPlayWidget/src/widgetwindow.h b/ScreenPlayWidget/src/widgetwindow.h index 26993a96..3396d6b9 100644 --- a/ScreenPlayWidget/src/widgetwindow.h +++ b/ScreenPlayWidget/src/widgetwindow.h @@ -154,6 +154,7 @@ public slots: } QPointF cursorPos() { return QCursor::pos(); } + #ifdef Q_OS_WIN void setWindowBlur(unsigned int style = 3); #endif