Kandrashin Denis 12 лет назад
Родитель
Сommit
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