]> git.lyx.org Git - features.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Fri, 21 Mar 2008 09:30:19 +0000 (09:30 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 21 Mar 2008 09:30:19 +0000 (09:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index be5b1cf607c0aee0c4881d79bef0499307a9cb64..e0ccf066ee8632aacd294035c063bcb78db5d8ff 100644 (file)
@@ -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<QTabWidget const *>(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.