mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
Ref T118, color search follow up formatting
This commit is contained in:
@@ -25,7 +25,7 @@ namespace BlackGui
|
||||
ui(new Ui::CDbLiveryColorSearchDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
connect(this, &CDbLiveryColorSearchDialog::accepted, this, &CDbLiveryColorSearchDialog::ps_onAccepted);
|
||||
connect(this, &CDbLiveryColorSearchDialog::accepted, this, &CDbLiveryColorSearchDialog::onAccepted);
|
||||
}
|
||||
|
||||
CDbLiveryColorSearchDialog::~CDbLiveryColorSearchDialog()
|
||||
@@ -33,12 +33,12 @@ namespace BlackGui
|
||||
|
||||
const CLivery &CDbLiveryColorSearchDialog::getLivery() const
|
||||
{
|
||||
return this->m_foundLivery;
|
||||
return m_foundLivery;
|
||||
}
|
||||
|
||||
void CDbLiveryColorSearchDialog::ps_onAccepted()
|
||||
void CDbLiveryColorSearchDialog::onAccepted()
|
||||
{
|
||||
this->m_foundLivery = ui->comp_LiverySearch->getLivery();
|
||||
m_foundLivery = ui->comp_LiverySearch->getLivery();
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -33,14 +33,14 @@ namespace BlackGui
|
||||
explicit CDbLiveryColorSearchDialog(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CDbLiveryColorSearchDialog();
|
||||
virtual ~CDbLiveryColorSearchDialog();
|
||||
|
||||
//! Found livery if any, otherwise default
|
||||
const BlackMisc::Aviation::CLivery &getLivery() const;
|
||||
|
||||
private:
|
||||
//! Dialog has been accepted
|
||||
void ps_onAccepted();
|
||||
void onAccepted();
|
||||
|
||||
BlackMisc::Aviation::CLivery m_foundLivery; //!< last livery found
|
||||
|
||||
|
||||
Reference in New Issue
Block a user