Fix last commit. Use just one QImage for every frame

This commit is contained in:
jfmcarreira committed 2014-02-08 01:29:48 +00:00
1 parent fcef6e09c4
commit 3cf0d866ad
5 files changed
+48 -41

No files matched your search

+4 -3
View File
@@ -50,7 +50,8 @@ private:
QScrollArea* m_cScrollArea;
ViewArea* m_cViewArea;
InputStream m_currStream;
InputStream* m_pCurrStream;
QImage* m_pCurrFrameQImage;
QString m_cWindowName;
QString m_cCurrFileName;
@@ -70,7 +71,7 @@ public:
InputStream* getInputStream()
{
return &m_currStream;
return m_pCurrStream;
}
/**
@@ -127,7 +128,7 @@ protected:
Void closeEvent( QCloseEvent *event );
public Q_SLOTS:
int playEvent();
bool playEvent();
};
} // NAMESPACE