From c17fcb8ac650e388b44a2de2138621f37f4f1c19 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Fri, 9 Oct 2009 17:41:09 +0200 Subject: [PATCH] Fixed a typo. Renamed doockToolBarWidgets --- src/plugins/coreplugin/inavigationwidgetfactory.h | 2 +- src/plugins/coreplugin/navigationwidget.cpp | 2 +- src/plugins/projectexplorer/foldernavigationwidget.cpp | 2 +- src/plugins/projectexplorer/projecttreewidget.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/coreplugin/inavigationwidgetfactory.h b/src/plugins/coreplugin/inavigationwidgetfactory.h index 2ae0ef6d809..f8b7377a5ae 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 5b8bbc6fa4c..ffa00654214 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 163418b0dbb..799b27add44 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 edcbf4c08da..f76df790205 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; } -- GitLab