diff options
author | Arno <am@disconnect.de> | 2013-04-11 07:19:51 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-04-11 07:19:51 +0200 |
commit | a39b9bb410593edf105be3ce808b6bfd94f95cde (patch) | |
tree | 4566c8f01b3071d9758a376307ee290b681f8965 /shemov.h | |
parent | d71c97f56f4eb35a8918b9741fe6bfd6417a3b5c (diff) | |
download | SheMov-a39b9bb410593edf105be3ce808b6bfd94f95cde.tar.gz SheMov-a39b9bb410593edf105be3ce808b6bfd94f95cde.tar.bz2 SheMov-a39b9bb410593edf105be3ce808b6bfd94f95cde.zip |
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.
Diffstat (limited to 'shemov.h')
-rw-r--r-- | shemov.h | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -9,22 +9,16 @@ #define SHEMOV_H #include <QtWidgets/QMainWindow> -#include <QList> -#include <QThread> #include <QVariant> 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 |