mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23859 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e995e8556b
commit
f333b5da5f
@ -392,7 +392,6 @@ void GuiWorkArea::processKeySym(KeySymbol const & key, KeyModifier mod)
|
|||||||
|
|
||||||
theLyXFunc().setLyXView(lyx_view_);
|
theLyXFunc().setLyXView(lyx_view_);
|
||||||
theLyXFunc().processKeySym(key, mod);
|
theLyXFunc().processKeySym(key, mod);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1143,7 +1142,7 @@ class NoTabFrameMacStyle : public QMacStyle {
|
|||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
QRect subElementRect(SubElement element, const QStyleOption * option,
|
QRect subElementRect(SubElement element, const QStyleOption * option,
|
||||||
const QWidget * widget = 0 ) const
|
const QWidget * widget = 0) const
|
||||||
{
|
{
|
||||||
QRect rect = QMacStyle::subElementRect(element, option, widget);
|
QRect rect = QMacStyle::subElementRect(element, option, widget);
|
||||||
bool noBar = static_cast<QTabWidget const *>(widget)->count() <= 1;
|
bool noBar = static_cast<QTabWidget const *>(widget)->count() <= 1;
|
||||||
@ -1319,7 +1318,7 @@ bool TabWorkArea::removeWorkArea(GuiWorkArea * work_area)
|
|||||||
if (count()) {
|
if (count()) {
|
||||||
// make sure the next work area is enabled.
|
// make sure the next work area is enabled.
|
||||||
currentWidget()->setUpdatesEnabled(true);
|
currentWidget()->setUpdatesEnabled(true);
|
||||||
if ((currentWorkArea() && currentWorkArea()->isFullScreen()))
|
if (currentWorkArea() && currentWorkArea()->isFullScreen())
|
||||||
setFullScreen(true);
|
setFullScreen(true);
|
||||||
else
|
else
|
||||||
// Hide tabbar if there's only one tab.
|
// Hide tabbar if there's only one tab.
|
||||||
|
Loading…
Reference in New Issue
Block a user