The branch, master, has been updated. - Log -----------------------------------------------------------------
commit a19a0edfc03cf923135c3ae46fe6567208e4b247 Author: Vincent van Ravesteijn <[email protected]> Date: Fri Dec 28 13:39:03 2012 +0100 qt5: Use QStyleOptionTabWidgetFrame QStyleOptionTabWidgetFrameV2 is identical to QStyleOptionTabWidgetFrame. diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 5a91a6c..147d842 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1563,7 +1563,11 @@ void TabWorkArea::paintEvent(QPaintEvent * event) // painting of the frame of the tab widget. // This is needed for gtk style in Qt. QStylePainter p(this); +#if QT_VERSION < 0x050000 QStyleOptionTabWidgetFrameV2 opt; +#else + QStyleOptionTabWidgetFrame opt; +#endif initStyleOption(&opt); opt.rect = style()->subElementRect(QStyle::SE_TabWidgetTabPane, &opt, this); ----------------------------------------------------------------------- Summary of changes: src/frontends/qt4/GuiWorkArea.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
