Commit 3bf7650d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Turn struct ProjectExplorerSettings into a class



We agreed to not use structs to avoid the class/struct mismatch
warnings in MSVC and clang.

Change-Id: Id1b2d89646d3a982c8d85b84b44a4e697102c220
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent ffb88395
......@@ -60,9 +60,7 @@ class BuildConfiguration;
class ProjectNode;
class TaskHub;
namespace Internal {
struct ProjectExplorerSettings;
}
namespace Internal { class ProjectExplorerSettings; }
struct ProjectExplorerPluginPrivate;
......
......@@ -35,8 +35,9 @@
namespace ProjectExplorer {
namespace Internal {
struct ProjectExplorerSettings
class ProjectExplorerSettings
{
public:
ProjectExplorerSettings() :
buildBeforeDeploy(true), deployBeforeRun(true),
saveBeforeBuild(false), showCompilerOutput(false),
......
......@@ -39,7 +39,7 @@
namespace ProjectExplorer {
namespace Internal {
struct ProjectExplorerSettings;
class ProjectExplorerSettings;
// Documentation inside.
class ProjectExplorerSettingsWidget : public QWidget {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment