Commit a647bcf3 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

GtkQTreeModel: remove warning about multiple columns

This warning is useless and the wrapper works for models with
multiple columns, at least in the cases currently implemented in

Change-Id: If0bfb819f77099946df9d87ad54820562ddf9993
parent f6078223
......@@ -441,10 +441,8 @@ gtk_q_tree_model_new(QAbstractItemModel *model, size_t n_columns, ...)
/* we have to assume only one column */
int first = topLeft.row();
int last = bottomRight.row();
if (topLeft.column() != bottomRight.column() ) {
g_warning("more than one column is not supported!");
/* the first idx IS topLeft, the reset are his siblings */
/* the first idx IS topLeft, the rest are his siblings */
GtkTreeIter iter;
QModelIndex idx = topLeft;
iter.stamp = stamp;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment