From 19674f64699ba883f24a97a04505ca2c7f12634e Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 17 Oct 2010 12:48:20 +0200 Subject: Implemented hovering in FilesystemWidget Hovering over dirs and pictures show either the content of the directory or a scaled image of the picture. This is a strange commit, though. When the archive was the last opened tab the program crashes when changing to FilesystemView. I don't have the slightest clue, why, so I simply removed setting the last opened tab on startup. Also there is some strange behavior regarding the position of the HoverWindow and what Qt thinks the global position is... --- shemov.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index 8294900..f00caf5 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -606,10 +606,6 @@ void SheMov::readSettings(){ if(winState){ setWindowState(Qt::WindowMaximized); } - int currentTab = s.value("ui/selectedtab", 0).toInt(); - if(currentTab < mTab->count() && currentTab != mTab->currentIndex()){ - mTab->setCurrentIndex(currentTab); - } int filesMode = s.value("ui/filestreemode", FilesTreeModel::Normal).toInt(); switch(filesMode){ case FilesTreeModel::Normal: -- cgit v1.2.3-70-g09d2