* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23719 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-14 16:35:44 +00:00
parent 5d112c185c
commit 6688fc1f1e
4 changed files with 7 additions and 4 deletions

View File

@ -1926,6 +1926,7 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
case LyXRC::RC_EXAMPLEPATH: case LyXRC::RC_EXAMPLEPATH:
case LyXRC::RC_FONT_ENCODING: case LyXRC::RC_FONT_ENCODING:
case LyXRC::RC_FORMAT: case LyXRC::RC_FORMAT:
case LyXRC::RC_GROUP_LAYOUTS:
case LyXRC::RC_INDEX_COMMAND: case LyXRC::RC_INDEX_COMMAND:
case LyXRC::RC_INPUT: case LyXRC::RC_INPUT:
case LyXRC::RC_KBMAP: case LyXRC::RC_KBMAP:

View File

@ -407,8 +407,8 @@ void GuiView::closeEvent(QCloseEvent * close_event)
// Save toolbars configuration // Save toolbars configuration
if (isFullScreen()) { if (isFullScreen()) {
d.toolbars_->toggleFullScreen(!isFullScreen()); d.toolbars_->toggleFullScreen(!isFullScreen());
updateToolbars(); updateToolbars();
} }
// Make sure the timer time out will not trigger a statusbar update. // Make sure the timer time out will not trigger a statusbar update.
@ -1184,6 +1184,7 @@ void GuiView::openDocument(string const & fname)
Buffer * buf = loadDocument(fullname); Buffer * buf = loadDocument(fullname);
if (buf) { if (buf) {
updateLabels(*buf); updateLabels(*buf);
setBuffer(buf); setBuffer(buf);
buf->errors("Parse"); buf->errors("Parse");
str2 = bformat(_("Document %1$s opened."), disp_fn); str2 = bformat(_("Document %1$s opened."), disp_fn);

View File

@ -1162,14 +1162,14 @@ public:
} }
}; };
NoTabFrameMacStyle noTabFramemacStyle; NoTabFrameMacStyle noTabFrameMacStyle;
#endif #endif
TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent) TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
{ {
#ifdef Q_WS_MACX #ifdef Q_WS_MACX
setStyle(&noTabFramemacStyle); setStyle(&noTabFrameMacStyle);
#endif #endif
QPalette pal = palette(); QPalette pal = palette();

View File

@ -160,6 +160,7 @@ public:
bool insertCompletion(Cursor & cur, docstring const & s, bool finished); bool insertCompletion(Cursor & cur, docstring const & s, bool finished);
/// ///
void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const; void completionPosAndDim(Cursor const &, int & x, int & y, Dimension & dim) const;
/// ///
virtual docstring contextMenu(BufferView const & bv, int x, int y) const; virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
/// ///