mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
refs #335, changed ui to QScopedPointer
This commit is contained in:
committed by
Roland Winklmeier
parent
5eaaf70fcd
commit
bb8b515c87
@@ -16,7 +16,9 @@
|
||||
#include "blackgui/components/timerbasedcomponent.h"
|
||||
#include "blackgui/components/dockwidgetinfoareacomponent.h"
|
||||
#include "blackmisc/avaircraft.h"
|
||||
|
||||
#include <QTabWidget>
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui { class CAircraftComponent; }
|
||||
namespace BlackGui
|
||||
@@ -72,7 +74,7 @@ namespace BlackGui
|
||||
void ps_countChanged(int count);
|
||||
|
||||
private:
|
||||
Ui::CAircraftComponent *ui;
|
||||
QScopedPointer<Ui::CAircraftComponent> ui;
|
||||
CTimerBasedComponent *m_timerComponent;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user