projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce feature flag for remote disconnecting
[quassel.git]
/
src
/
qtui
/
chatmonitorview.cpp
diff --git
a/src/qtui/chatmonitorview.cpp
b/src/qtui/chatmonitorview.cpp
index
3bea4f8
..
5efceff
100644
(file)
--- a/
src/qtui/chatmonitorview.cpp
+++ b/
src/qtui/chatmonitorview.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
6
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-21,6
+21,7
@@
#include "chatmonitorview.h"
#include <QAction>
#include "chatmonitorview.h"
#include <QAction>
+#include <QIcon>
#include <QMenu>
#include <QContextMenuEvent>
#include <QMenu>
#include <QContextMenuEvent>
@@
-29,7
+30,6
@@
#include "chatitem.h"
#include "chatscene.h"
#include "client.h"
#include "chatitem.h"
#include "chatscene.h"
#include "client.h"
-#include "iconloader.h"
#include "networkmodel.h"
#include "buffermodel.h"
#include "messagemodel.h"
#include "networkmodel.h"
#include "buffermodel.h"
#include "messagemodel.h"
@@
-43,6
+43,9
@@
ChatMonitorView::ChatMonitorView(ChatMonitorFilter *filter, QWidget *parent)
_filter(filter)
{
scene()->setSenderCutoffMode(ChatScene::CutoffLeft);
_filter(filter)
{
scene()->setSenderCutoffMode(ChatScene::CutoffLeft);
+ // The normal message prefixes get replaced by the network and buffer name. Re-add brackets for
+ // all message types.
+ scene()->setAlwaysBracketSender(true);
connect(Client::instance(), SIGNAL(coreConnectionStateChanged(bool)), this, SLOT(coreConnectionStateChanged(bool)));
}
connect(Client::instance(), SIGNAL(coreConnectionStateChanged(bool)), this, SLOT(coreConnectionStateChanged(bool)));
}