forked from qt-creator/qt-creator
Fixed a typo.
Renamed doockToolBarWidgets
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user