diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-03-30 20:11:05 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-03-30 20:11:41 +0200 |
commit | fbc29b6a0626f2ce8521dc74e3171b634d68e9e5 (patch) | |
tree | d2d79201be585131be2ab0cd7d337237887af5a0 /logic/screenshots/ScreenshotList.cpp | |
parent | e1e1d99102936b419aac52974f1fdb8be835b0d4 (diff) | |
download | PrismLauncher-fbc29b6a0626f2ce8521dc74e3171b634d68e9e5.tar.gz PrismLauncher-fbc29b6a0626f2ce8521dc74e3171b634d68e9e5.tar.bz2 PrismLauncher-fbc29b6a0626f2ce8521dc74e3171b634d68e9e5.zip |
Fix many memory leaks.
Diffstat (limited to 'logic/screenshots/ScreenshotList.cpp')
-rw-r--r-- | logic/screenshots/ScreenshotList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/screenshots/ScreenshotList.cpp b/logic/screenshots/ScreenshotList.cpp index 8a64dc36..a34f4d46 100644 --- a/logic/screenshots/ScreenshotList.cpp +++ b/logic/screenshots/ScreenshotList.cpp @@ -7,7 +7,7 @@ #include "gui/dialogs/ProgressDialog.h" #include "gui/dialogs/CustomMessageBox.h" -ScreenshotList::ScreenshotList(BaseInstance *instance, QObject *parent) +ScreenshotList::ScreenshotList(InstancePtr instance, QObject *parent) : QAbstractListModel(parent), m_instance(instance) { } |