forked from qt-creator/qt-creator
Tasks: Show tool tips with information about the categories
When hovering an entry in the filter menu in the Issues view. Also remove some categories that shouldn't be there. Change-Id: Ifb367d69b9396c2fdc45b83ec5ffd88ac2f0eda7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -723,7 +723,9 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
|
||||
|
||||
// Task integration.
|
||||
//: Category under which Analyzer tasks are listed in Issues view
|
||||
TaskHub::addCategory({ANALYZERTASK_ID, Tr::tr("Debugger")});
|
||||
TaskHub::addCategory({ANALYZERTASK_ID,
|
||||
Tr::tr("Valgrind"),
|
||||
Tr::tr("Issues that the Valgrind tools found when analyzing the code.")});
|
||||
|
||||
const Context debuggerNotRunning(C_DEBUGGER_NOTRUNNING);
|
||||
ICore::addAdditionalContext(debuggerNotRunning);
|
||||
@@ -765,8 +767,9 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
|
||||
act->setEnabled(false);
|
||||
Command *cmd = ActionManager::registerAction(act, Constants::OPEN_MEMORY_EDITOR);
|
||||
|
||||
TaskHub::addCategory({TASK_CATEGORY_DEBUGGER_DEBUGINFO, Tr::tr("Debug Information")});
|
||||
TaskHub::addCategory({TASK_CATEGORY_DEBUGGER_RUNTIME, Tr::tr("Debugger Runtime")});
|
||||
TaskHub::addCategory({TASK_CATEGORY_DEBUGGER_RUNTIME,
|
||||
Tr::tr("Debugger Runtime"),
|
||||
Tr::tr("Issues with starting the debugger.")});
|
||||
|
||||
m_debuggerSettings.readSettings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user