aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/ThemeManagementDialog.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2023-09-20 22:07:04 +0200
committerGravatar ctrlaltca2023-10-18 10:26:35 +0200
commit9419f8b75e9f4816d62614b7cbcdc23b6738a81f (patch)
treef82a615acdd1ed738298cff73fb749276a7ba023 /src/modules/theme/ThemeManagementDialog.cpp
parentREADME.md: replace travis badge with github actions (diff)
downloadKVIrc-9419f8b75e9f4816d62614b7cbcdc23b6738a81f.tar.gz
KVIrc-9419f8b75e9f4816d62614b7cbcdc23b6738a81f.tar.bz2
KVIrc-9419f8b75e9f4816d62614b7cbcdc23b6738a81f.zip
Rename COMPILE_WEBKIT_SUPPORT to COMPILE_WEBENGINE_SUPPORT
Diffstat (limited to 'src/modules/theme/ThemeManagementDialog.cpp')
-rw-r--r--src/modules/theme/ThemeManagementDialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp
index 088042c25..09154fedc 100644
--- a/src/modules/theme/ThemeManagementDialog.cpp
+++ b/src/modules/theme/ThemeManagementDialog.cpp
@@ -23,7 +23,7 @@
//=============================================================================
#include "kvi_settings.h"
-#if defined(COMPILE_WEBKIT_SUPPORT)
+#if defined(COMPILE_WEBENGINE_SUPPORT)
#include "WebThemeInterfaceDialog.h"
#endif
@@ -114,7 +114,7 @@ ThemeManagementDialog::ThemeManagementDialog(QWidget * parent)
: QWidget(parent)
{
m_pItemDelegate = nullptr;
-#ifdef COMPILE_WEBKIT_SUPPORT
+#ifdef COMPILE_WEBENGINE_SUPPORT
m_pWebThemeInterfaceDialog = nullptr;
#endif
setObjectName("theme_options_widget");
@@ -242,13 +242,13 @@ ThemeManagementDialog::~ThemeManagementDialog()
delete m_pItemDelegate;
g_rectManagementDialogGeometry = QRect(pos().x(), pos().y(), size().width(), size().height());
m_pInstance = nullptr;
-#ifdef COMPILE_WEBKIT_SUPPORT
+#ifdef COMPILE_WEBENGINE_SUPPORT
if(m_pWebThemeInterfaceDialog)
{
m_pWebThemeInterfaceDialog->deleteLater();
m_pWebThemeInterfaceDialog = nullptr;
}
-#endif //COMPILE_WEBKIT_SUPPORT
+#endif //COMPILE_WEBENGINE_SUPPORT
}
void ThemeManagementDialog::closeClicked()
@@ -420,7 +420,7 @@ void ThemeManagementDialog::installFromFile()
void ThemeManagementDialog::getMoreThemes()
{
-#ifdef COMPILE_WEBKIT_SUPPORT
+#ifdef COMPILE_WEBENGINE_SUPPORT
if(m_pWebThemeInterfaceDialog)
{
m_pWebThemeInterfaceDialog->show();
@@ -440,7 +440,7 @@ void ThemeManagementDialog::getMoreThemes()
void ThemeManagementDialog::webThemeInterfaceDialogDestroyed()
{
-#ifdef COMPILE_WEBKIT_SUPPORT
+#ifdef COMPILE_WEBENGINE_SUPPORT
m_pWebThemeInterfaceDialog = nullptr;
#endif
fillThemeBox();