summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-14 07:28:19 +0200
committerArno <am@disconnect.de>2013-09-14 07:28:19 +0200
commit19a7e82de5decb45caf07acc0d1161b1f05cb15b (patch)
treeba036f290965b58482abf8b415200457341f2e89 /shemov.cpp
parentc115772c658ba1138d05ef6604bc36d4b6d96867 (diff)
downloadSheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.tar.gz
SheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.tar.bz2
SheMov-19a7e82de5decb45caf07acc0d1161b1f05cb15b.zip
Get rid of FrameCache
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 9f81840..e9c8427 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -33,7 +33,6 @@
#include "newpicsdialog.h"
#include "pictureswidget.h"
#include "smdirmodel.h"
-#include "framecache.h"
#include "archiveview.h"
#include "archivecontroller.h"
@@ -386,11 +385,7 @@ void SheMov::createActions(){
//connnect
mQuitA = new QAction(tr("Quit"), this);
mQuitA->setShortcut(tr("CTRL+q"));
- mRebuildFrameCacheA = new QAction(tr("Rebuild frame cache") ,this);
-
- // general actions
connect(mQuitA, SIGNAL(triggered()), qApp, SLOT(closeAllWindows()));
- connect(mRebuildFrameCacheA, SIGNAL(triggered()), this, SLOT(rebuildFrameCache()));
//Edit menu (FS)
mCdupA = new QAction(QIcon(":/up_dick.png"), tr("Go up"), this);
@@ -648,7 +643,6 @@ void SheMov::createMenus(){
analyzeMenu->addAction(mAnalyzeSeriesA);
analyzeMenu->addAction(mAnalyzePartsA);
fileMenu->addMenu(analyzeMenu);
- fileMenu->addAction(mRebuildFrameCacheA);
fileMenu->addSeparator();
fileMenu->addAction(mQuitA);
menuBar()->addMenu(fileMenu);
@@ -885,13 +879,6 @@ void SheMov::createPalette(){
qApp->setPalette(pal);
}
-void SheMov::rebuildFrameCache(){
- int retval = QMessageBox::question(this, tr("Question"), tr("Rebuild frame cache from directory?"), QMessageBox::Yes | QMessageBox::No);
- if(retval == QMessageBox::Yes){
- SmGlobals::instance()->frameCache()->rebuild();
- }
-}
-
void SheMov::analyzeActors(){
EmptyActorsDialog d(tr("Actors"), this);
d.populate();