UI Nits: Disable GcBubble on Mac

The painting artefacts are a problem only on a Mac. Suspect
it is a QT bug. Disabling the bubble on a Mac for this reason.
Its starting to grate anyway, perhaps there is a better way
of doing this.
This commit is contained in:
Mark Liversedge
2012-11-30 19:14:27 +00:00
parent dca5635bb3
commit fc6d300a79

View File

@@ -2338,6 +2338,7 @@ MainWindow::exportCalendar()
void
MainWindow::setBubble(QString text, QPoint pos, Qt::Orientation orientation)
{
#ifndef Q_OS_MAC // disable on Mac due to painting artefacts / QT bug (?)
if (text == "") {
bubble->setVisible(false);
} else {
@@ -2347,6 +2348,7 @@ MainWindow::setBubble(QString text, QPoint pos, Qt::Orientation orientation)
bubble->raise();
bubble->repaint();
}
#endif
}
#ifdef Q_OS_MAC