From 83873855d4f4d3042b50e521029c902bc5e05893 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 20 Jul 2018 04:58:38 +0200 Subject: Fix headere view for PictureListView Make the headers great again! --- picturelistview.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'picturelistview.cpp') diff --git a/picturelistview.cpp b/picturelistview.cpp index 22e27af..3037eb2 100644 --- a/picturelistview.cpp +++ b/picturelistview.cpp @@ -23,14 +23,6 @@ PictureListView::PictureListView(QWidget *parent) : SmTreeView("ui/picheaderpos" connect(selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(selectedFilesChanged())); mMappingTreeModel = static_cast(SmGlobals::instance()->model("MappingTree")); - //read settings - QSettings s; - QByteArray pvHeader = s.value("ui/pvheader").toByteArray(); - mCursorOffset = s.value("ui/cursoroffset").toInt(); - if(!pvHeader.isEmpty()){ - header()->restoreState(pvHeader); - } - //hover window mHoverWin = new HoverWindow(this); -- cgit v1.2.3-70-g09d2