summaryrefslogtreecommitdiffstats
path: root/gui/pages/ScreenshotsPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pages/ScreenshotsPage.cpp')
-rw-r--r--gui/pages/ScreenshotsPage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/pages/ScreenshotsPage.cpp b/gui/pages/ScreenshotsPage.cpp
index d47a2897..1771a118 100644
--- a/gui/pages/ScreenshotsPage.cpp
+++ b/gui/pages/ScreenshotsPage.cpp
@@ -16,6 +16,7 @@
#include <QKeyEvent>
#include <pathutils.h>
+#include <MultiMC.h>
#include "gui/dialogs/ProgressDialog.h"
#include "gui/dialogs/CustomMessageBox.h"
@@ -103,7 +104,7 @@ public:
{
m_thumbnailingPool.setMaxThreadCount(4);
m_thumbnailCache = std::make_shared<SharedIconCache>();
- m_thumbnailCache->add("placeholder", QIcon::fromTheme("screenshot-placeholder"));
+ m_thumbnailCache->add("placeholder", MMC->getThemedIcon("screenshot-placeholder"));
connect(&watcher, SIGNAL(fileChanged(QString)), SLOT(fileChanged(QString)));
// FIXME: the watched file set is not updated when files are removed
}