mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
3.1 Upgrade Processing Part 1 of 3
.. getting the upgrade code going, this just adds new functions for changing colors and themes and doesn't perform an upgrade .. Part 2 will deal with W' and power.zones changes .. Part 3 will deal with chart setup changes
This commit is contained in:
@@ -115,19 +115,19 @@ MainWindow::MainWindow(const QDir &home)
|
||||
|
||||
// bootstrap
|
||||
Context *context = new Context(this);
|
||||
GCColor *GCColorSet = new GCColor(context); // get/keep colorset, before athlete...
|
||||
context->athlete = new Athlete(context, home);
|
||||
|
||||
setWindowIcon(QIcon(":images/gc.png"));
|
||||
setWindowTitle(context->athlete->home.dirName());
|
||||
setContentsMargins(0,0,0,0);
|
||||
setAcceptDrops(true);
|
||||
GCColor *GCColorSet = new GCColor(context); // get/keep colorset
|
||||
GCColorSet->colorSet(); // shut up the compiler
|
||||
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
WFApi *w = WFApi::getInstance(); // ensure created on main thread
|
||||
w->apiVersion();//shutup compiler
|
||||
#endif
|
||||
GCColorSet->colorSet(); // shut up the compiler
|
||||
Library::initialise(context->athlete->home);
|
||||
QNetworkProxyQuery npq(QUrl("http://www.google.com"));
|
||||
QList<QNetworkProxy> listOfProxies = QNetworkProxyFactory::systemProxyForQuery(npq);
|
||||
|
||||
Reference in New Issue
Block a user