Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
bc7d8532
Commit
bc7d8532
authored
May 07, 2010
by
mae
Browse files
Labelling consistency
Reviewed-by: Oswald Buddenhagen
parent
495b7bff
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/modemanager.cpp
View file @
bc7d8532
...
...
@@ -177,7 +177,7 @@ void ModeManager::objectAdded(QObject *obj)
ActionManager
*
am
=
d
->
m_mainWindow
->
actionManager
();
const
QString
shortcutId
=
QLatin1String
(
"QtCreator.Mode."
)
+
mode
->
id
();
QShortcut
*
shortcut
=
new
QShortcut
(
d
->
m_mainWindow
);
shortcut
->
setWhatsThis
(
tr
(
"Switch to %1
m
ode"
).
arg
(
mode
->
displayName
()));
shortcut
->
setWhatsThis
(
tr
(
"Switch to %1
M
ode"
).
arg
(
mode
->
displayName
()));
Command
*
cmd
=
am
->
registerShortcut
(
shortcut
,
shortcutId
,
QList
<
int
>
()
<<
Constants
::
C_GLOBAL_ID
);
d
->
m_modeShortcuts
.
insert
(
index
,
cmd
);
...
...
src/plugins/designer/formeditorfactory.cpp
View file @
bc7d8532
...
...
@@ -91,7 +91,7 @@ void FormEditorFactory::updateEditorInfoBar(Core::IEditor *editor)
if
(
qobject_cast
<
FormWindowEditor
*>
(
editor
))
{
Core
::
EditorManager
::
instance
()
->
showEditorInfoBar
(
Constants
::
INFO_READ_ONLY
,
tr
(
"This file can only be edited in Design Mode."
),
tr
(
"
Open
Designe
r
"
),
this
,
SLOT
(
designerModeClicked
()));
tr
(
"
Switch to
Design
Mod
e"
),
this
,
SLOT
(
designerModeClicked
()));
}
else
{
Core
::
EditorManager
::
instance
()
->
hideEditorInfoBar
(
Constants
::
INFO_READ_ONLY
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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