Browse Source

Debug header

Kandrashin Denis 12 years ago
parent
commit
8272a5efde
1 changed files with 4 additions and 0 deletions
  1. 4 0
      source/fb2head.cpp

+ 4 - 0
source/fb2head.cpp

@@ -381,7 +381,11 @@ FbHeadItem * FbHeadModel::item(const QModelIndex &index) const
 int FbHeadModel::columnCount(const QModelIndex &parent) const
 {
     Q_UNUSED(parent);
+#ifdef QT_DEBUG
     return 6;
+#else
+    return 2;
+#endif
 }
 
 QModelIndex FbHeadModel::index(int row, int column, const QModelIndex &parent) const