summaryrefslogtreecommitdiffstats
path: root/smtreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smtreeview.cpp')
-rw-r--r--smtreeview.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/smtreeview.cpp b/smtreeview.cpp
index 7fd7b48..024093a 100644
--- a/smtreeview.cpp
+++ b/smtreeview.cpp
@@ -34,20 +34,6 @@ void SmTreeView::readHeaderConfig(){
if(!headerPos.isEmpty()){
header()->restoreState(headerPos);
}
- QHeaderView *hv = header();
- QHash<int, QAction*> headerActions;
- foreach(QAction *a, mHeaderGroup->actions()){
- headerActions.insert(a->data().toInt(), a);
- }
- for(int i = 0; i < hv->count(); ++i){
- // don't crash if header count is smaller than saved...
- if(i >= mHeaderGroup->actions().count()){
- continue;
- }
- if(!hv->isSectionHidden(i)){
- headerActions.value(i)->setChecked(true);
- }
- }
}
void SmTreeView::writeHeaderConfig(){