1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Fix typo to get table display working.

This commit is contained in:
cc9cii 2015-03-07 11:42:50 +11:00
parent 727b68dd15
commit ca21181483

View File

@ -145,9 +145,9 @@ namespace CSMWorld
void addNestedColumn(int columnId, Display displayType);
bool canHaveNestedColumns() const;
const ColumnBase& nestedColumn(int subColumn) const;
int nestedColumnCount() const;
};
@ -157,15 +157,15 @@ namespace CSMWorld
public:
NestedColumn(int columnId, Display displayType, int flag, const NestColumn* parent);
virtual bool isEditable() const;
};
template<typename ESXRecordT>
struct Column : public NestColumn
{
Column (int columnId, Display displayType, int flags = Flag_Table | Flag_Dialogue, bool canNest = false)
: NestColumn (columnId, displayType, canNest, flags) {}
: NestColumn (columnId, displayType, flags, canNest) {}
virtual QVariant get (const Record<ESXRecordT>& record) const = 0;