diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 38f989cfca..e0b9e6ce3a 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -249,7 +249,7 @@ public: /// void paint(QPainter * painter, QStyleOptionViewItem const & option, - const QModelIndex &index) const { + QModelIndex const & index) const { QComboBox * combo = static_cast(parent()); // Draw using the menu item style (this is how QComboBox does it).