Do not load images that were already released

This commit is contained in:
2019-08-21 16:32:14 +02:00
parent 50dcd4b902
commit f0e4923a68
5 changed files with 75 additions and 44 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef LOADRUNABLE_H
#define LOADRUNABLE_H
#include <QRunnable>
#include <QString>
class Image;
class LoadRunable : public QRunnable
{
QString m_file;
Image *m_receiver;
public:
LoadRunable(const QString &file, Image *receiver);
void run();
};
#endif // LOADRUNABLE_H