]> git.lyx.org Git - lyx.git/commitdiff
remove QT3_SUPPORT macro dependency by Peter Kummel (syntheticpp@gmx.net)
authorAbdelrazak Younes <younes@lyx.org>
Sun, 4 Jun 2006 20:50:41 +0000 (20:50 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 4 Jun 2006 20:50:41 +0000 (20:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14000 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QCommandBuffer.C

index 43e89a30e7958cd96f08a37d83594f2be1e93ed6..91220eaddd701abe3f3622d0a219fa7be6e3887a 100644 (file)
@@ -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);