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