Commit c17fcb8a authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed a typo.

Renamed doockToolBarWidgets
parent 162be9a3
......@@ -45,7 +45,7 @@ namespace Core {
struct NavigationView
{
QWidget *widget;
QList<QToolButton *> doockToolBarWidgets;
QList<QToolButton *> dockToolBarWidgets;
};
class CORE_EXPORT INavigationWidgetFactory : public QObject
......
......@@ -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);
......
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment