mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix warning: field 'XXX' will be initialized after field 'YYY'
According to the definition order in the .h file.
This commit is contained in:
committed by
Alejandro Martinez
parent
fee8f1757c
commit
4aa2a32ec6
@@ -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"));
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user