Style, in CGuiApplication sGui can be used as guard (no QPointer needed)

This commit is contained in:
Klaus Basan
2018-08-13 23:43:06 +02:00
parent 0327776edd
commit 755455e8a4
5 changed files with 39 additions and 53 deletions

View File

@@ -18,8 +18,6 @@
#include <QObject>
#include <QScopedPointer>
class QWidget;
namespace Ui { class CSimulatorXPlaneConfigWindow; }
namespace BlackSimPlugin
{
@@ -40,7 +38,8 @@ namespace BlackSimPlugin
virtual ~CSimulatorXPlaneConfigWindow();
private:
void settingsAccepted();
//! Settings have been accepted
void onSettingsAccepted();
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
BlackMisc::CSetting<BlackMisc::Simulation::Settings::TXSwiftBusServer> m_xswiftbusServerSetting { this };