forked from qt-creator/qt-creator
Move some knowledge from KitAspectWidget to KitAspect
The authoritative source of information about a KitAspect is the KitAspect itself, not the associated widget. Change-Id: I72d3d0425b845457846a940350bab59f1ff0cc2c Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -83,8 +83,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
QString displayName() const override { return tr("Debugger"); }
|
||||
QString toolTip() const override { return tr("The debugger to use for this kit."); }
|
||||
QWidget *buttonWidget() const override { return m_manageButton; }
|
||||
QWidget *mainWidget() const override { return m_comboBox; }
|
||||
|
||||
@@ -149,6 +147,8 @@ DebuggerKitAspect::DebuggerKitAspect()
|
||||
{
|
||||
setObjectName("DebuggerKitAspect");
|
||||
setId(DebuggerKitAspect::id());
|
||||
setDisplayName(tr("Debugger"));
|
||||
setDescription(tr("The debugger to use for this kit."));
|
||||
setPriority(28000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user