浏览代码

Debug header

Kandrashin Denis 12 年之前
父节点
当前提交
8272a5efde
共有 1 个文件被更改,包括 4 次插入0 次删除
  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