From ca21181483d203de200c3ee963a3abe07f5ede14 Mon Sep 17 00:00:00 2001 From: cc9cii Date: Sat, 7 Mar 2015 11:42:50 +1100 Subject: [PATCH] Fix typo to get table display working. --- apps/opencs/model/world/columnbase.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/opencs/model/world/columnbase.hpp b/apps/opencs/model/world/columnbase.hpp index 5926df269..607f585b7 100644 --- a/apps/opencs/model/world/columnbase.hpp +++ b/apps/opencs/model/world/columnbase.hpp @@ -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 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& record) const = 0;