mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 21:05:31 +08:00
CListModelBase and CViewBase: reduce the number of template parameters
by relying on what can easily be deduced from the first parameter(s).
This commit is contained in:
@@ -28,7 +28,7 @@ namespace BlackGui
|
||||
namespace Models
|
||||
{
|
||||
CClientListModel::CClientListModel(QObject *parent) :
|
||||
CListModelBase<CClient, CClientList>("ViewClientList", parent)
|
||||
CListModelBase<CClientList>("ViewClientList", parent)
|
||||
{
|
||||
m_columns.addColumn(CColumn("client", CClient::IndexIcon));
|
||||
m_columns.addColumn(CColumn::standardValueObject("callsign", CClient::IndexCallsign));
|
||||
|
||||
Reference in New Issue
Block a user