forked from qt-creator/qt-creator
Utils: Centralize aspect macro expansion setup and handling
Let each aspect have a macro expander, and let aspect-owned lineedits use this for expansion. Change-Id: Ifa6f5a678cf81c169643e4145f41e69eafedeb93 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -127,7 +127,6 @@ GdbSettings::GdbSettings()
|
||||
|
||||
gdbStartupCommands.setSettingsKey(debugModeGroup, "GdbStartupCommands");
|
||||
gdbStartupCommands.setDisplayStyle(StringAspect::TextEditDisplay);
|
||||
gdbStartupCommands.setUseGlobalMacroExpander();
|
||||
gdbStartupCommands.setToolTip("<html><head/><body><p>" + Tr::tr(
|
||||
"GDB commands entered here will be executed after "
|
||||
"GDB has been started, but before the debugged program is started or "
|
||||
@@ -136,7 +135,6 @@ GdbSettings::GdbSettings()
|
||||
|
||||
gdbPostAttachCommands.setSettingsKey(debugModeGroup, "GdbPostAttachCommands");
|
||||
gdbPostAttachCommands.setDisplayStyle(StringAspect::TextEditDisplay);
|
||||
gdbPostAttachCommands.setUseGlobalMacroExpander();
|
||||
gdbPostAttachCommands.setToolTip("<html><head/><body><p>" + Tr::tr(
|
||||
"GDB commands entered here will be executed after "
|
||||
"GDB has successfully attached to remote targets.</p>"
|
||||
|
||||
Reference in New Issue
Block a user