diff --git a/src/common.hpp b/src/common.hpp index 58748e166..62303fc31 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -6,6 +6,12 @@ namespace chatterino { +enum class HighlightState { + None, + Highlighted, + NewMessage, +}; + inline QString qS(const std::string &string) { return QString::fromStdString(string); diff --git a/src/widgets/helper/notebooktab.hpp b/src/widgets/helper/notebooktab.hpp index 36e397dc2..e41e32bd9 100644 --- a/src/widgets/helper/notebooktab.hpp +++ b/src/widgets/helper/notebooktab.hpp @@ -1,5 +1,6 @@ #pragma once +#include "common.hpp" #include "widgets/basewidget.hpp" #include @@ -23,12 +24,6 @@ class NotebookTab : public BaseWidget std::string settingRoot; public: - enum class HighlightState { - None, - Highlighted, - NewMessage, - }; - explicit NotebookTab(Notebook *_notebook, const std::string &settingPrefix); void calcSize();