refactor: Move all commands to their own files (#4946)

This commit is contained in:
pajlada
2023-11-08 18:57:09 +01:00
committed by GitHub
parent d40b0a6c1d
commit f89642ec66
41 changed files with 3405 additions and 2605 deletions
+1 -5
View File
@@ -121,10 +121,7 @@ ImagePtr getEmptyImagePtr();
class ImageExpirationPool
{
private:
friend class Image;
friend class CommandController;
public:
ImageExpirationPool();
static ImageExpirationPool &instance();
@@ -145,7 +142,6 @@ private:
*/
void freeAll();
private:
// Timer to periodically run freeOld()
QTimer *freeTimer_;
std::map<Image *, std::weak_ptr<Image>> allImages_;