From 32a3ce2546368f35f004e59f1a6ba0858985bb28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Wed, 5 Mar 2008 22:41:56 +0000 Subject: [PATCH] GuiToolbar.cpp: compile fixes git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23492 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiToolbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 66a76d5d9c..34500bc681 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -250,7 +250,7 @@ public: /// void paint(QPainter * painter, QStyleOptionViewItem const & option, QModelIndex const & index) const { - QComboBox * combo = static_cast(parent()); + QComboBox * combo = static_cast(parent()); QStyleOptionMenuItem opt = getStyleOption(option, index); // draw line with small text string for separator @@ -327,7 +327,7 @@ public: /// QSize sizeHint(QStyleOptionViewItem const & option, QModelIndex const & index) const { - QComboBox * combo = static_cast(parent()); + QComboBox * combo = static_cast(parent()); QStyleOptionMenuItem opt = getStyleOption(option, index); QSize size = combo->style()->sizeFromContents( @@ -372,7 +372,7 @@ private: QStyleOptionMenuItem getStyleOption(QStyleOptionViewItem const & option, QModelIndex const & index) const { - QComboBox * combo = static_cast(parent()); + QComboBox * combo = static_cast(parent()); // create the options for a menu item QStyleOptionMenuItem menuOption;