diff --git a/src/Charts/Overview.cpp b/src/Charts/Overview.cpp index c43c6ec23..2b942670e 100644 --- a/src/Charts/Overview.cpp +++ b/src/Charts/Overview.cpp @@ -570,7 +570,7 @@ badconfig: // // Config dialog that pops up when you click on the config button // -OverviewConfigDialog::OverviewConfigDialog(ChartSpaceItem*item, QPoint pos) : QDialog(NULL), item(item), pos(pos) +OverviewConfigDialog::OverviewConfigDialog(ChartSpaceItem*item, QPoint pos) : QDialog(NULL), pos(pos), item(item) { if (item->type == OverviewItemType::USERCHART) setWindowTitle(tr("Chart Settings")); else setWindowTitle(tr("Tile Settings")); diff --git a/src/Train/VideoWindow.cpp b/src/Train/VideoWindow.cpp index 7bba0cb86..a03bfa118 100644 --- a/src/Train/VideoWindow.cpp +++ b/src/Train/VideoWindow.cpp @@ -41,7 +41,7 @@ public: }; VideoWindow::VideoWindow(Context *context) : - GcChartWindow(context), context(context), m_MediaChanged(false), layoutSelector(NULL), container(nullptr) + GcChartWindow(context), context(context), m_MediaChanged(false), container(nullptr), layoutSelector(NULL) { HelpWhatsThis *helpContents = new HelpWhatsThis(this); this->setWhatsThis(helpContents->getWhatsThisText(HelpWhatsThis::ChartTrain_VideoPlayer));