forked from qt-creator/qt-creator
QtVersionManager: Fix a warning about missing initializer
It fixes the following warning:
warning: missing initializer for member
‘QtSupport::Internal::ExampleSetModel::ExtraExampleSet::qtVersion’
Amends bdfa412b14
Change-Id: Ieb984664953f53d458297970e09678c499a26197
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
||||
// qtVersion is set by recreateModel for extra sets that correspond to actual Qt versions.
|
||||
// This is needed for the decision to show categories or not based on the Qt version
|
||||
// (which is not ideal).
|
||||
QVersionNumber qtVersion;
|
||||
QVersionNumber qtVersion = {};
|
||||
};
|
||||
static QVector<ExtraExampleSet> pluginRegisteredExampleSets();
|
||||
|
||||
|
@@ -5,7 +5,6 @@
|
||||
|
||||
#include "baseqtversion.h"
|
||||
#include "exampleslistmodel.h"
|
||||
#include "qtkitinformation.h"
|
||||
#include "qtsupportconstants.h"
|
||||
#include "qtversionfactory.h"
|
||||
|
||||
|
Reference in New Issue
Block a user