Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
2a1c503b
Commit
2a1c503b
authored
Apr 17, 2009
by
Friedemann Kleint
Browse files
Fix debugger settings action.
parent
e76943eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerconstants.h
View file @
2a1c503b
...
...
@@ -53,6 +53,7 @@ const char * const M_DEBUG_VIEWS = "Debugger.Menu.View.Debug";
const
char
*
const
C_GDBDEBUGGER
=
"Gdb Debugger"
;
const
char
*
const
GDBRUNNING
=
"Gdb.Running"
;
const
char
*
const
DEBUGGER_COMMON_SETTINGS_PAGE
=
QT_TRANSLATE_NOOP
(
"Debugger"
,
"Common"
);
const
char
*
const
DEBUGGER_SETTINGS_CATEGORY
=
QT_TRANSLATE_NOOP
(
"Debugger"
,
"Debugger"
);
namespace
Internal
{
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
2a1c503b
...
...
@@ -246,8 +246,8 @@ public:
CommonOptionsPage
()
{}
// IOptionsPage
QString
id
()
const
{
return
QLatin1String
(
"Common"
);
}
QString
trName
()
const
{
return
tr
(
"Common"
);
}
QString
id
()
const
{
return
QLatin1String
(
Debugger
::
Constants
::
DEBUGGER_COMMON_SETTINGS_PAGE
);
}
QString
trName
()
const
{
return
QCoreApplication
::
translate
(
"Debugger"
,
Debugger
::
Constants
::
DEBUGGER_COMMON_SETTINGS_PAGE
);
}
QString
category
()
const
{
return
QLatin1String
(
Debugger
::
Constants
::
DEBUGGER_SETTINGS_CATEGORY
);
}
QString
trCategory
()
const
{
return
QCoreApplication
::
translate
(
"Debugger"
,
Debugger
::
Constants
::
DEBUGGER_SETTINGS_CATEGORY
);
}
...
...
@@ -988,7 +988,8 @@ void DebuggerPlugin::focusCurrentEditor(IMode *mode)
void
DebuggerPlugin
::
showSettingsDialog
()
{
Core
::
ICore
::
instance
()
->
showOptionsDialog
(
"Debugger"
,
"General"
);
Core
::
ICore
::
instance
()
->
showOptionsDialog
(
QLatin1String
(
Debugger
::
Constants
::
DEBUGGER_SETTINGS_CATEGORY
),
QLatin1String
(
Debugger
::
Constants
::
DEBUGGER_COMMON_SETTINGS_PAGE
));
}
#include
"debuggerplugin.moc"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment