From fc6d300a7939228fbcfa88d02ffc8f24105c2cdb Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 30 Nov 2012 19:14:27 +0000 Subject: [PATCH] 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. --- src/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index f002c0720..26111fae6 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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