mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Minor completer adjustments
This commit is contained in:
committed by
Mat Sutcliffe
parent
f5cef58c03
commit
3ad7182448
@@ -87,8 +87,8 @@ namespace BlackGui
|
||||
|
||||
void CAircraftModelStringCompleter::setSourceVisible(CompleterSource source, bool visible)
|
||||
{
|
||||
if (source.testFlag(DB)) { ui->rb_Db->setVisible(visible); }
|
||||
if (source.testFlag(ModelSet)) { ui->rb_ModelSet->setVisible(visible); }
|
||||
if (source.testFlag(DB)) { ui->rb_Db->setVisible(visible); }
|
||||
if (source.testFlag(ModelSet)) { ui->rb_ModelSet->setVisible(visible); }
|
||||
if (source.testFlag(OwnModels)) { ui->rb_OwnModels->setVisible(visible); }
|
||||
}
|
||||
|
||||
|
||||
@@ -12,8 +12,10 @@
|
||||
#ifndef BLACKGUI_COMPLETER_AIRCRAFTMODELSTRINGCOMPLETER_H
|
||||
#define BLACKGUI_COMPLETER_AIRCRAFTMODELSTRINGCOMPLETER_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/simulation/data/modelcaches.h"
|
||||
#include "blackmisc/simulation/aircraftmodel.h"
|
||||
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
#include <QCompleter>
|
||||
@@ -27,7 +29,7 @@ namespace BlackGui
|
||||
/*!
|
||||
* Completer for model strings
|
||||
*/
|
||||
class CAircraftModelStringCompleter : public QFrame
|
||||
class BLACKGUI_EXPORT CAircraftModelStringCompleter : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user