┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/general/configurepreviewplugindialog.cpp
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2022-05-05 22:07:03 +0200
committerAhmad Samir <[email protected]>2022-05-31 14:25:13 +0000
commite58f0c085cbf4932b4bf83ec2b6fd6a536a8c7bb (patch)
tree18993d47aa421f94caba89c320c0ac922ce9821c /src/settings/general/configurepreviewplugindialog.cpp
parent5cbe6b530249ab5f5b1b9f57cf794a2b7faec269 (diff)
Port away from deprecated ThumbCreator API
Configurability of individual preview plugins has been deprecated since KIO 5.87.
Diffstat (limited to 'src/settings/general/configurepreviewplugindialog.cpp')
-rw-r--r--src/settings/general/configurepreviewplugindialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings/general/configurepreviewplugindialog.cpp b/src/settings/general/configurepreviewplugindialog.cpp
index b60ba5a0c..5aa3f9d39 100644
--- a/src/settings/general/configurepreviewplugindialog.cpp
+++ b/src/settings/general/configurepreviewplugindialog.cpp
@@ -6,6 +6,8 @@
#include "configurepreviewplugindialog.h"
+#if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 87)
+
#include <KIO/DeleteJob>
#include <KIO/JobUiDelegate>
#include <KIO/ThumbCreator>
@@ -67,3 +69,5 @@ ConfigurePreviewPluginDialog::ConfigurePreviewPluginDialog(const QString& plugin
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
okButton->setDefault(true);
}
+
+#endif // KIO_VERSION