From: Abdelrazak Younes Date: Sun, 4 Jun 2006 20:50:41 +0000 (+0000) Subject: remove QT3_SUPPORT macro dependency by Peter Kummel (syntheticpp@gmx.net) X-Git-Tag: 1.6.10~13153 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=52557ce33128a063275a284fc5332018f5995c0d;p=lyx.git 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 --- 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);