From ecb37d95df702a5e4ee712d2fb3e06326970c123 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 27 Jan 2007 10:24:15 +0000 Subject: [PATCH] Limit the work-around in rev. 16874 to Windows. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16877 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/iconpalette.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/iconpalette.C b/src/frontends/qt4/iconpalette.C index d6eeb09135..32b3b62cb8 100644 --- a/src/frontends/qt4/iconpalette.C +++ b/src/frontends/qt4/iconpalette.C @@ -158,6 +158,7 @@ IconPalette::IconPalette(QWidget * parent, char const ** entries) buttons_.push_back(make_pair(p, entries[i])); layout_->addWidget(p); } +#ifdef Q_WS_WIN // FIXME: This is a hack to work around bug 2859 // http://bugzilla.lyx.org/show_bug.cgi?id=2859 // Short description of the bug: @@ -168,6 +169,7 @@ IconPalette::IconPalette(QWidget * parent, char const ** entries) screenshot. */ move(50, 50); +#endif }