summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-29 20:34:11 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-29 20:34:11 (GMT)
commit0d6f71fadac786fb94302e8f5762e37f7e598e53 (patch)
tree9f06ffbbbb4fb06a88de49910485ac651c8c94df /Swift/QtUI/Roster/QtTreeWidget.cpp
parent030c2d8a448dbf17808b840df1d0379639867e99 (diff)
downloadswift-0d6f71fadac786fb94302e8f5762e37f7e598e53.zip
swift-0d6f71fadac786fb94302e8f5762e37f7e598e53.tar.bz2
Finally sticky roster group expansion.
Diffstat (limited to 'Swift/QtUI/Roster/QtTreeWidget.cpp')
-rw-r--r--Swift/QtUI/Roster/QtTreeWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidget.cpp b/Swift/QtUI/Roster/QtTreeWidget.cpp
index 75863fc..7caa150 100644
--- a/Swift/QtUI/Roster/QtTreeWidget.cpp
+++ b/Swift/QtUI/Roster/QtTreeWidget.cpp
@@ -80,8 +80,8 @@ void QtTreeWidget::handleDataChanged(const QModelIndex& topLeft, const QModelInd
}
QtTreeWidgetItem* qtItem = static_cast<QtTreeWidgetItem*>(topLeft.internalPointer());
if (qtItem) {
- //qDebug() << "Item changed, passing expanded state to view: " << qtItem->isExpanded();
setExpanded(topLeft, qtItem->isExpanded());
+ //qDebug() << "Item changed, passing expanded state to view: " << qtItem->isExpanded() << " giving an expanded state of " << isExpanded(topLeft);
}
}