From a39b9bb410593edf105be3ce808b6bfd94f95cde Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 11 Apr 2013 07:19:51 +0200 Subject: Fix frame cacheDir Get rid of the cache file. Instead, generate the cache on startup. The cache was never written since it was turned into a thread. Because of that I wrote a cleanup function, but surprisingly it didn't have much impact on the startup time, so I dropped the cache file. Also, fix destructor of SmGlobals. Call deleteLater on all Q_OBJECTS, and of course, some header cleanup. --- shemov.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'shemov.h') diff --git a/shemov.h b/shemov.h index cb3d3d3..5d5bdd1 100644 --- a/shemov.h +++ b/shemov.h @@ -9,22 +9,16 @@ #define SHEMOV_H #include -#include -#include #include class QTabWidget; class FilesystemWidget; -class QAction; class QLabel; -class QItemSelection; class QSignalMapper; -class QMenu; class QActionGroup; class ArchiveTreeView; class NewMovieWizard; class DbAnalyzerDialog; -class MappingTreeWidget; class PicturesWidget; class SmTreeModel; class NewPicsDialog; @@ -60,6 +54,7 @@ class SheMov : public QMainWindow { void editMappings(QString table); void newPicsDialog(); void newPicsDialogWithFiles(); + void rebuildFrameCache(); signals: void configChanged(); @@ -113,6 +108,7 @@ class SheMov : public QMainWindow { QAction *mAnalyzerA; QAction *mNewPicsA; QAction *mHoverDirectoriesA; + QAction *mRebuildFrameCacheA; //TreeView Actions //Series Actions -- cgit v1.2.3-70-g09d2