aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerkitinformation.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-03-12 16:50:39 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-03-15 14:47:18 +0000
commitd4565be6557fca844dcf4bf427e0ff9c0838df50 (patch)
treeea002e07fe7f0ea29113b64ebabf03233e2813d5 /src/plugins/debugger/debuggerkitinformation.cpp
parente80d83cb20cfd57ce9bbb059f6f5b7cb6c86d416 (diff)
ProjectExplorer: Drop KitAspect::defaultValue()
The functionality of this function overlapped with KitAspect::setup(), leading to unclear responsibilities and resulting in bugs such as the one fixed by 776d54e435. Therefore, we drop the defaultValue() function, merging its implementation with setup() where applicable. Change-Id: Iefa9c3df8b76e97ddf9ad388516621f7ea6558d4 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerkitinformation.cpp')
-rw-r--r--src/plugins/debugger/debuggerkitinformation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerkitinformation.cpp b/src/plugins/debugger/debuggerkitinformation.cpp
index 9783184346..48072a328b 100644
--- a/src/plugins/debugger/debuggerkitinformation.cpp
+++ b/src/plugins/debugger/debuggerkitinformation.cpp
@@ -152,8 +152,6 @@ DebuggerKitAspect::DebuggerKitAspect()
setPriority(28000);
}
-QVariant DebuggerKitAspect::defaultValue(const Kit *) const { return QVariant(); }
-
void DebuggerKitAspect::setup(Kit *k)
{
QTC_ASSERT(k, return);