mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Move Cocoa release pool to main
.. because mainwindows come and go and we need to persist across them all.
This commit is contained in:
@@ -118,10 +118,6 @@ MainWindow::MainWindow(const QDir &home)
|
||||
GCColor *GCColorSet = new GCColor(context); // get/keep colorset
|
||||
GCColorSet->colorSet(); // shut up the compiler
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
// get an autorelease pool setup
|
||||
static CocoaInitializer cocoaInitializer;
|
||||
#endif
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
WFApi *w = WFApi::getInstance(); // ensure created on main thread
|
||||
w->apiVersion();//shutup compiler
|
||||
|
||||
Reference in New Issue
Block a user