Deprecate the Bubble

.. its hideous and really annoying.
This commit is contained in:
Mark Liversedge
2013-07-14 21:18:10 +01:00
parent 05c2150b12
commit 7f1a6dafef
8 changed files with 0 additions and 107 deletions

View File

@@ -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)