mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #212, MS review, https://dev.vatsim-germany.org/issues/212#note-6
This commit is contained in:
@@ -25,7 +25,7 @@ namespace BlackGui
|
||||
};
|
||||
|
||||
//! \brief Constructor
|
||||
CUserListModel(UserMode userMode, QObject *parent = nullptr);
|
||||
explicit CUserListModel(UserMode userMode, QObject *parent = nullptr);
|
||||
|
||||
//! \brief Destructor
|
||||
virtual ~CUserListModel() {}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BlackGui
|
||||
protected:
|
||||
|
||||
//! Constructor
|
||||
CViewBase(QWidget *parent) : QTableView(parent)
|
||||
CViewBase(QWidget *parent, ModelClass *model = nullptr) : QTableView(parent), m_model(model)
|
||||
{
|
||||
this->setSortingEnabled(true);
|
||||
this->horizontalHeader()->setStretchLastSection(true);
|
||||
|
||||
Reference in New Issue
Block a user