From 52557ce33128a063275a284fc5332018f5995c0d Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 4 Jun 2006 20:50:41 +0000 Subject: [PATCH] remove QT3_SUPPORT macro dependency by Peter Kummel (syntheticpp@gmx.net) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14000 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/QCommandBuffer.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/QCommandBuffer.C b/src/frontends/qt4/QCommandBuffer.C index 43e89a30e7..91220eaddd 100644 --- a/src/frontends/qt4/QCommandBuffer.C +++ b/src/frontends/qt4/QCommandBuffer.C @@ -84,10 +84,10 @@ QCommandBuffer::QCommandBuffer(QtView * view, ControlCommandBuffer & control, QW QHBoxLayout * layout = new QHBoxLayout(0); QPushButton * up = new QPushButton(qpup, "", this); - QToolTip::add(up, qt_("Previous command")); + up->setToolTip(qt_("Previous command")); connect(up, SIGNAL(clicked()), this, SLOT(up())); QPushButton * down = new QPushButton(qpdown, "", this); - QToolTip::add(down, qt_("Next command")); + down->setToolTip(qt_("Next command")); connect(down, SIGNAL(clicked()), this, SLOT(down())); edit_ = new QCommandEdit(this); -- 2.39.2