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
c17fcb8a
Commit
c17fcb8a
authored
Oct 09, 2009
by
Roberto Raggi
Browse files
Fixed a typo.
Renamed doockToolBarWidgets
parent
162be9a3
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/inavigationwidgetfactory.h
View file @
c17fcb8a
...
...
@@ -45,7 +45,7 @@ namespace Core {
struct
NavigationView
{
QWidget
*
widget
;
QList
<
QToolButton
*>
do
o
ckToolBarWidgets
;
QList
<
QToolButton
*>
dockToolBarWidgets
;
};
class
CORE_EXPORT
INavigationWidgetFactory
:
public
QObject
...
...
src/plugins/coreplugin/navigationwidget.cpp
View file @
c17fcb8a
...
...
@@ -426,7 +426,7 @@ void NavigationSubWidget::setCurrentIndex(int index)
layout
()
->
addWidget
(
m_navigationWidget
);
// Add Toolbutton
m_additionalToolBarWidgets
=
n
.
do
o
ckToolBarWidgets
;
m_additionalToolBarWidgets
=
n
.
dockToolBarWidgets
;
QHBoxLayout
*
layout
=
qobject_cast
<
QHBoxLayout
*>
(
m_toolBar
->
layout
());
foreach
(
QToolButton
*
w
,
m_additionalToolBarWidgets
)
{
layout
->
insertWidget
(
layout
->
count
()
-
2
,
w
);
...
...
src/plugins/projectexplorer/foldernavigationwidget.cpp
View file @
c17fcb8a
...
...
@@ -210,7 +210,7 @@ Core::NavigationView FolderNavigationWidgetFactory::createWidget()
toggleSync
->
setChecked
(
ptw
->
autoSynchronization
());
toggleSync
->
setToolTip
(
tr
(
"Synchronize with Editor"
));
connect
(
toggleSync
,
SIGNAL
(
clicked
(
bool
)),
ptw
,
SLOT
(
toggleAutoSynchronization
()));
n
.
do
o
ckToolBarWidgets
<<
toggleSync
;
n
.
dockToolBarWidgets
<<
toggleSync
;
return
n
;
}
...
...
src/plugins/projectexplorer/projecttreewidget.cpp
View file @
c17fcb8a
...
...
@@ -383,7 +383,7 @@ Core::NavigationView ProjectTreeWidgetFactory::createWidget()
filterMenu
->
addAction
(
ptw
->
m_filterGeneratedFilesAction
);
filter
->
setMenu
(
filterMenu
);
n
.
do
o
ckToolBarWidgets
<<
filter
<<
ptw
->
toggleSync
();
n
.
dockToolBarWidgets
<<
filter
<<
ptw
->
toggleSync
();
return
n
;
}
...
...
Write
Preview
Markdown
is supported
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