Honour lyxrc.show_banner again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-03-15 12:18:21 +00:00
parent c23fe9abfe
commit 8ffc79cf63

View File

@ -140,6 +140,8 @@ public:
BackgroundWidget() BackgroundWidget()
{ {
LYXERR(Debug::GUI, "show banner: " << lyxrc.show_banner); LYXERR(Debug::GUI, "show banner: " << lyxrc.show_banner);
if (!lyxrc.show_banner)
return;
/// The text to be written on top of the pixmap /// The text to be written on top of the pixmap
QString const text = lyx_version ? QString const text = lyx_version ?
qt_("version ") + lyx_version : qt_("unknown version"); qt_("version ") + lyx_version : qt_("unknown version");