From 47baf6ef1c88795583b3d20de9086026d7556bfc Mon Sep 17 00:00:00 2001 From: OmniTroid Date: Mon, 13 Mar 2017 23:34:24 +0100 Subject: [PATCH] version 2.2.5 in the .pro file --- Attorney_Online_remake.pro | 2 +- courtroom.cpp | 4 ++++ datatypes.h | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro index 96d3c54..82f6cda 100644 --- a/Attorney_Online_remake.pro +++ b/Attorney_Online_remake.pro @@ -13,7 +13,7 @@ RC_ICONS = logo.ico TARGET = Attorney_Online_remake TEMPLATE = app -VERSION = 2.2.4.0 +VERSION = 2.2.5.0 SOURCES += main.cpp\ lobby.cpp \ diff --git a/courtroom.cpp b/courtroom.cpp index 25d7166..86dca5c 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1487,6 +1487,10 @@ void Courtroom::set_text_color() ui_vp_message->setStyleSheet("background-color: rgba(0, 0, 0, 0);" "color: yellow"); break; + case BLACK: + ui_vp_message->setStyleSheet("background-color: rgba(0, 0, 0, 0);" + "color: black"); + break; default: qDebug() << "W: undefined text color: " << m_chatmessage[TEXT_COLOR]; case WHITE: diff --git a/datatypes.h b/datatypes.h index f6ce43f..d7dcc3f 100644 --- a/datatypes.h +++ b/datatypes.h @@ -103,7 +103,6 @@ enum COLOR ORANGE, BLUE, YELLOW, - //NYI BLACK, RAINBOW };