title: How to disable tooltips on QToolbar?
body: <p>How does one disable tooltips on a Qt4 QToolBar?</p>
  
  <p>Using QAction::setToolTip("") does nothing and I can't find any settings related to disabling tooltips on either a QAction or QToolbar!</p>
  
  <p>Example:</p>
  
  <p>Toolbar.h</p>
  
  <pre><code>#ifndef TOOLBAR_H
  #define TOOLBAR_H
  
  #include &lt;QtGui&gt;
  
  class Toolbar : public QToolBar
  {
      Q_OBJECT
  
  public:
      Toolbar()
      {
          QAction *action = this-&gt;addAction("Action");
          action-&gt;setToolTip("");
      }
  
      bool event(QEvent *event)
      {
          if(event-&gt;type() == QEvent::ToolTip)
          {
              qDebug() &lt;&lt; "QEvent::ToolTip";
          }
  
          return QToolBar::event(event);
      }
  };
  
  #include "moc_Toolbar.cpp"
  
  #endif // TOOLBAR_H
  </code></pre>
  
  <p>main.cpp</p>
  
  <pre><code>#include &lt;QtGui&gt;
  #include "Toolbar.h"
  
  int main(int argc, char *argv[])
  {
      QApplication app(argc, argv);
  
      QMainWindow window;
      Toolbar *toolbar = new Toolbar;
  
      window.addToolBar(toolbar);
      window.setCentralWidget(new QWidget());
  
      window.show();
  
      return app.exec();
  }
  </code></pre>