summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.cpp2
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp
index 82be62c8d..3bc323e92 100644
--- a/src/gui/widgets/tabs/chat/chattab.cpp
+++ b/src/gui/widgets/tabs/chat/chattab.cpp
@@ -67,7 +67,7 @@ ChatTab::ChatTab(const Widget2 *const widget,
const std::string &name,
const std::string &channel,
const std::string &logName,
- const ChatTabType::Type &type) :
+ const ChatTabTypeT &type) :
Tab(widget),
mTextOutput(new BrowserBox(this, BrowserBox::AUTO_WRAP, true,
"browserbox.xml")),
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index 2d40e5769..b1a988a8e 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -63,7 +63,7 @@ class ChatTab notfinal : public Tab
const std::string &name,
const std::string &channel,
const std::string &logName,
- const ChatTabType::Type &type);
+ const ChatTabTypeT &type);
A_DELETE_COPY(ChatTab)
@@ -138,7 +138,7 @@ class ChatTab notfinal : public Tab
/**
* Returns type of the being.
*/
- ChatTabType::Type getType() const A_WARN_UNUSED
+ ChatTabTypeT getType() const A_WARN_UNUSED
{ return mType; }
void saveToLogFile(const std::string &msg) const;
@@ -204,7 +204,7 @@ class ChatTab notfinal : public Tab
ScrollArea *mScrollArea;
std::string mChannelName;
std::string mLogName;
- ChatTabType::Type mType;
+ ChatTabTypeT mType;
bool mAllowHightlight;
bool mRemoveNames;
bool mNoAway;