mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Deprecate the Bubble
.. its hideous and really annoying.
This commit is contained in:
@@ -85,7 +85,6 @@
|
||||
#endif
|
||||
#include "HelpWindow.h"
|
||||
#include "HomeWindow.h"
|
||||
#include "GcBubble.h"
|
||||
#include "DiarySidebar.h"
|
||||
#include "GcScopeBar.h"
|
||||
#include "LTMSidebar.h"
|
||||
@@ -203,9 +202,6 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
* GUI setup
|
||||
*--------------------------------------------------------------------*/
|
||||
|
||||
bubble = new GcBubble(context);
|
||||
bubble->hide();
|
||||
|
||||
// need to restore geometry before setUnifiedToolBar.. on Mac
|
||||
appsettings->setValue(GC_SETTINGS_LAST, context->athlete->home.dirName());
|
||||
QVariant geom = appsettings->value(this, GC_SETTINGS_MAIN_GEOM);
|
||||
@@ -2345,20 +2341,6 @@ MainWindow::exportCalendar()
|
||||
// or also workouts themselves
|
||||
}
|
||||
|
||||
void
|
||||
MainWindow::setBubble(QString text, QPoint pos, Qt::Orientation orientation)
|
||||
{
|
||||
if (text == "") {
|
||||
bubble->setVisible(false);
|
||||
} else {
|
||||
bubble->setText(text);
|
||||
bubble->setPos(pos.x(), pos.y(), orientation);
|
||||
bubble->setVisible(true);
|
||||
bubble->raise();
|
||||
bubble->repaint();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
void
|
||||
MainWindow::searchTextChanged(QString text)
|
||||
|
||||
Reference in New Issue
Block a user