]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QCommandBuffer.C
remove QT3_SUPPORT macro dependency by Peter Kummel (syntheticpp@gmx.net)
[lyx.git] / 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);