forked from qt-creator/qt-creator
CMake: Add a reset button to the CMake Configuration edit in Kits
Add a reset button to the CMake configuration edit dialog that is available in the kits configuration panel. It restores the default value for the kit. Change-Id: I89921e2c86cbf8d9658a32fe5fa51dc2f903ff00 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -84,6 +84,8 @@ public:
|
||||
static QStringList toStringList(const ProjectExplorer::Kit *k);
|
||||
static void fromStringList(ProjectExplorer::Kit *k, const QStringList &in);
|
||||
|
||||
static CMakeConfig defaultConfiguration(const ProjectExplorer::Kit *k);
|
||||
|
||||
// KitInformation interface
|
||||
QVariant defaultValue(const ProjectExplorer::Kit *k) const override;
|
||||
QList<ProjectExplorer::Task> validate(const ProjectExplorer::Kit *k) const override;
|
||||
|
||||
Reference in New Issue
Block a user