summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ProfileManager/src/Common.h1
-rw-r--r--plugins/ProfileManager/src/pmanagerEx.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ProfileManager/src/Common.h b/plugins/ProfileManager/src/Common.h
index 1d8c64d6bc..e0bffbff00 100644
--- a/plugins/ProfileManager/src/Common.h
+++ b/plugins/ProfileManager/src/Common.h
@@ -3,6 +3,7 @@
#include <windows.h>
#include <newpluginapi.h>
+#include <m_database.h>
#include <m_langpack.h>
#include <m_genmenu.h>
#include <m_utils.h>
diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp
index 0db2b21155..5bf54d964f 100644
--- a/plugins/ProfileManager/src/pmanagerEx.cpp
+++ b/plugins/ProfileManager/src/pmanagerEx.cpp
@@ -99,6 +99,8 @@ static int OnModulesLoaded(WPARAM, LPARAM)
mi.pszPopupName = LPGEN("Database");
for (int i = 0; i < SIZEOF(iconList); i++) {
+ if (i == 2 && !ServiceExists(MS_DB_CHECKPROFILE))
+ continue;
mi.pszName = iconList[i].szDescr;
mi.pszService = iconList[i].szName;
mi.icolibItem = iconList[i].hIcolib;