mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
fixed exception
This commit is contained in:
parent
6f8e0100b5
commit
e9600b5ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ bool ChatView::isModeratorSendingGlobal(QFlags<ServerInfo_User::UserLevelFlag> u
|
|||
|
||||
QString ChatView::getCurrentTime() const
|
||||
{
|
||||
if (showInGameTime) {
|
||||
if (game && showInGameTime) {
|
||||
return game->getCurrentInGameTime();
|
||||
} else {
|
||||
return QDateTime::currentDateTime().toString("[hh:mm:ss] ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue