From f5a5ea043470b8f869df04465b908adba09b28f9 Mon Sep 17 00:00:00 2001 From: Gavin Bisesi Date: Wed, 22 Mar 2017 21:52:15 -0400 Subject: [PATCH] ChatView: Initialize fields in declared order --- cockatrice/src/chatview/chatview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/chatview/chatview.cpp b/cockatrice/src/chatview/chatview.cpp index f58be1a8..90919486 100644 --- a/cockatrice/src/chatview/chatview.cpp +++ b/cockatrice/src/chatview/chatview.cpp @@ -17,7 +17,7 @@ const QColor OTHER_USER_COLOR = QColor(0, 65, 255); // dark blue const QString SERVER_MESSAGE_COLOR = "#851515"; ChatView::ChatView(const TabSupervisor *_tabSupervisor, const UserlistProxy *_userlistProxy, TabGame *_game, bool _showTimestamps, QWidget *parent) - : QTextBrowser(parent), tabSupervisor(_tabSupervisor), userlistProxy(_userlistProxy), game(_game), evenNumber(true), showTimestamps(_showTimestamps), hoveredItemType(HoveredNothing) + : QTextBrowser(parent), tabSupervisor(_tabSupervisor), game(_game), userlistProxy(_userlistProxy), evenNumber(true), showTimestamps(_showTimestamps), hoveredItemType(HoveredNothing) { document()->setDefaultStyleSheet("a { text-decoration: none; color: blue; }"); userContextMenu = new UserContextMenu(tabSupervisor, this, game);