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
Marco Bubke
flatpak-qt-creator
Commits
4537e2be
Commit
4537e2be
authored
Jan 22, 2010
by
hjk
Browse files
fakevim: code cosmetics
parent
4d14568a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/actionmanager/actionmanager_p.h
View file @
4537e2be
...
...
@@ -56,7 +56,7 @@ class ActionContainerPrivate;
class
MainWindow
;
class
CommandPrivate
;
class
CORE_EXPORT
ActionManagerPrivate
:
public
Core
::
ActionManager
class
ActionManagerPrivate
:
public
Core
::
ActionManager
{
Q_OBJECT
...
...
src/plugins/fakevim/fakevimplugin.cpp
View file @
4537e2be
...
...
@@ -367,7 +367,7 @@ void FakeVimExCommandsPage::initialize()
if
(
s_exCommandMap
.
contains
(
name
))
{
ci
->
m_regex
=
s_exCommandMap
[
name
].
pattern
();
}
else
{
ci
->
m_regex
=
""
;
ci
->
m_regex
.
clear
()
;
}
item
->
setText
(
2
,
ci
->
m_regex
);
...
...
@@ -380,7 +380,7 @@ void FakeVimExCommandsPage::initialize()
void
FakeVimExCommandsPage
::
commandChanged
(
QTreeWidgetItem
*
current
)
{
if
(
!
current
||
!
current
->
data
(
0
,
Qt
::
UserRole
).
isValid
())
{
m_ui
.
regexEdit
->
setText
(
""
);
m_ui
.
regexEdit
->
setText
(
QString
()
);
m_ui
.
seqGrp
->
setEnabled
(
false
);
return
;
}
...
...
@@ -449,7 +449,7 @@ void FakeVimExCommandsPage::resetRegex()
if
(
s_defaultExCommandMap
.
contains
(
name
))
setRegex
(
s_defaultExCommandMap
[
name
].
pattern
());
else
setRegex
(
""
);
setRegex
(
QString
()
);
}
}
...
...
@@ -466,7 +466,7 @@ void FakeVimExCommandsPage::defaultAction()
if
(
s_defaultExCommandMap
.
contains
(
name
))
{
item
->
m_regex
=
s_defaultExCommandMap
[
name
].
pattern
();
}
else
{
item
->
m_regex
=
""
;
item
->
m_regex
.
clear
()
;
}
item
->
m_item
->
setText
(
2
,
item
->
m_regex
);
if
(
item
->
m_item
==
m_ui
.
commandList
->
currentItem
())
...
...
@@ -842,7 +842,7 @@ void FakeVimPluginPrivate::editorOpened(Core::IEditor *editor)
// pop up the bar
if
(
theFakeVimSetting
(
ConfigUseFakeVim
)
->
value
().
toBool
())
showCommandBuffer
(
""
);
showCommandBuffer
(
QString
()
);
}
void
FakeVimPluginPrivate
::
editorAboutToClose
(
Core
::
IEditor
*
editor
)
...
...
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