summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/notifymanager.cpp2
-rw-r--r--src/resources/notifications.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp
index 12d4e4a00..1cbd755ff 100644
--- a/src/notifymanager.cpp
+++ b/src/notifymanager.cpp
@@ -24,8 +24,6 @@
#include "being/localplayer.h"
-#include "enums/resources/notifytypes.h"
-
#include "net/guildhandler.h"
#include "net/partyhandler.h"
diff --git a/src/resources/notifications.h b/src/resources/notifications.h
index 45a90460e..4e345425b 100644
--- a/src/resources/notifications.h
+++ b/src/resources/notifications.h
@@ -21,15 +21,17 @@
#ifndef RESOURCES_NOTIFICATIONS_H
#define RESOURCES_NOTIFICATIONS_H
-#include "localconsts.h"
+#include "enums/resources/notifytypes.h"
#include "resources/notificationinfo.h"
#include "utils/gettext.h"
+#include "localconsts.h"
+
namespace NotifyManager
{
- static const NotificationInfo notifications[] =
+ static const NotificationInfo notifications[NotifyTypes::TYPE_END] =
{
{"",
"", NotifyFlags::EMPTY},