mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #335, changed ui to QScopedPointer
This commit is contained in:
committed by
Roland Winklmeier
parent
5eaaf70fcd
commit
bb8b515c87
@@ -15,7 +15,9 @@
|
||||
#include "runtimebasedcomponent.h"
|
||||
#include "blackmisc/icon.h"
|
||||
#include "blackgui/components/dockwidgetinfoareacomponent.h"
|
||||
|
||||
#include <QTabWidget>
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui { class CSimulatorComponent; }
|
||||
namespace BlackGui
|
||||
@@ -25,9 +27,9 @@ namespace BlackGui
|
||||
|
||||
//! Simulator component
|
||||
class CSimulatorComponent :
|
||||
public QTabWidget,
|
||||
public CDockWidgetInfoAreaComponent,
|
||||
public CRuntimeBasedComponent
|
||||
public QTabWidget,
|
||||
public CDockWidgetInfoAreaComponent,
|
||||
public CRuntimeBasedComponent
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -52,7 +54,7 @@ namespace BlackGui
|
||||
void clear();
|
||||
|
||||
private:
|
||||
Ui::CSimulatorComponent *ui;
|
||||
QScopedPointer<Ui::CSimulatorComponent> ui;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user