mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
Remove MainWindow from TabView.cpp
This commit is contained in:
@@ -17,8 +17,10 @@
|
||||
*/
|
||||
|
||||
#include "TabView.h"
|
||||
#include "Tab.h"
|
||||
#include "Context.h"
|
||||
#include "Athlete.h"
|
||||
#include "RideItem.h"
|
||||
#include "BlankState.h"
|
||||
#include "HomeWindow.h"
|
||||
#include "GcWindowRegistry.h"
|
||||
@@ -26,10 +28,9 @@
|
||||
#include "MetricAggregator.h"
|
||||
|
||||
#include "Settings.h"
|
||||
#include "MainWindow.h" // temp - will become Tab when its ready
|
||||
|
||||
TabView::TabView(Context *context, int type) :
|
||||
QWidget(context->mainWindow), context(context), type(type),
|
||||
QWidget(context->tab), context(context), type(type),
|
||||
_sidebar(true), _tiled(false), _selected(false),
|
||||
stack(NULL), splitter(NULL), sidebar_(NULL), page_(NULL), blank_(NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user