From f333b5da5fa6f4a01f880420b4dadf4f0194e728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 21 Mar 2008 09:30:19 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index be5b1cf607..e0ccf066ee 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -392,7 +392,6 @@ void GuiWorkArea::processKeySym(KeySymbol const & key, KeyModifier mod) theLyXFunc().setLyXView(lyx_view_); theLyXFunc().processKeySym(key, mod); - } @@ -1143,7 +1142,7 @@ class NoTabFrameMacStyle : public QMacStyle { public: /// QRect subElementRect(SubElement element, const QStyleOption * option, - const QWidget * widget = 0 ) const + const QWidget * widget = 0) const { QRect rect = QMacStyle::subElementRect(element, option, widget); bool noBar = static_cast(widget)->count() <= 1; @@ -1319,7 +1318,7 @@ bool TabWorkArea::removeWorkArea(GuiWorkArea * work_area) if (count()) { // make sure the next work area is enabled. currentWidget()->setUpdatesEnabled(true); - if ((currentWorkArea() && currentWorkArea()->isFullScreen())) + if (currentWorkArea() && currentWorkArea()->isFullScreen()) setFullScreen(true); else // Hide tabbar if there's only one tab.