diff --git a/src/plugins/coreplugin/inavigationwidgetfactory.h b/src/plugins/coreplugin/inavigationwidgetfactory.h index 2ae0ef6d809f9a96aa6d0363067d304f5b73d870..f8b7377a5ae64f01b47c4a96b2f35213f20662a1 100644 --- a/src/plugins/coreplugin/inavigationwidgetfactory.h +++ b/src/plugins/coreplugin/inavigationwidgetfactory.h @@ -45,7 +45,7 @@ namespace Core { struct NavigationView { QWidget *widget; - QList<QToolButton *> doockToolBarWidgets; + QList<QToolButton *> dockToolBarWidgets; }; class CORE_EXPORT INavigationWidgetFactory : public QObject diff --git a/src/plugins/coreplugin/navigationwidget.cpp b/src/plugins/coreplugin/navigationwidget.cpp index 5b8bbc6fa4cd060b98c007006bf2b0cf91d0d2d2..ffa006542146b2650e9d3f90825d6626cd24cc32 100644 --- a/src/plugins/coreplugin/navigationwidget.cpp +++ b/src/plugins/coreplugin/navigationwidget.cpp @@ -426,7 +426,7 @@ void NavigationSubWidget::setCurrentIndex(int index) layout()->addWidget(m_navigationWidget); // Add Toolbutton - m_additionalToolBarWidgets = n.doockToolBarWidgets; + m_additionalToolBarWidgets = n.dockToolBarWidgets; QHBoxLayout *layout = qobject_cast<QHBoxLayout *>(m_toolBar->layout()); foreach (QToolButton *w, m_additionalToolBarWidgets) { layout->insertWidget(layout->count()-2, w); diff --git a/src/plugins/projectexplorer/foldernavigationwidget.cpp b/src/plugins/projectexplorer/foldernavigationwidget.cpp index 163418b0dbb001c35ec386fc5344ed4ef5712882..799b27add44455f97a68dc56a1f6f8fda6f2d1d7 100644 --- a/src/plugins/projectexplorer/foldernavigationwidget.cpp +++ b/src/plugins/projectexplorer/foldernavigationwidget.cpp @@ -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.doockToolBarWidgets << toggleSync; + n.dockToolBarWidgets << toggleSync; return n; } diff --git a/src/plugins/projectexplorer/projecttreewidget.cpp b/src/plugins/projectexplorer/projecttreewidget.cpp index edcbf4c08da08ce0199fa361af712d6375ab2b4d..f76df7902057afdac85646c59ca976b04d1de708 100644 --- a/src/plugins/projectexplorer/projecttreewidget.cpp +++ b/src/plugins/projectexplorer/projecttreewidget.cpp @@ -383,7 +383,7 @@ Core::NavigationView ProjectTreeWidgetFactory::createWidget() filterMenu->addAction(ptw->m_filterGeneratedFilesAction); filter->setMenu(filterMenu); - n.doockToolBarWidgets << filter << ptw->toggleSync(); + n.dockToolBarWidgets << filter << ptw->toggleSync(); return n; }