mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user