mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
#refs 432 using forward declaration to reduce includes in header
Remark: some related includes had to be updated
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "maininfoareacomponent.h"
|
||||
#include "ui_maininfoareacomponent.h"
|
||||
#include "allmaininfoareacomponents.h"
|
||||
#include "../stylesheetutility.h"
|
||||
#include "../guiutility.h"
|
||||
#include "blackmisc/icons.h"
|
||||
@@ -97,7 +98,6 @@ namespace BlackGui
|
||||
case InfoAreaLog:
|
||||
case InfoAreaSimulator:
|
||||
return QSize(400, 300);
|
||||
break;
|
||||
case InfoAreaMappings:
|
||||
case InfoAreaSettings:
|
||||
case InfoAreaTextMessages:
|
||||
@@ -105,10 +105,8 @@ namespace BlackGui
|
||||
break;
|
||||
case InfoAreaFlightPlan:
|
||||
return QSize(625, 500);
|
||||
break;
|
||||
default:
|
||||
return QSize(400, 300);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user