projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing BR #308 - make column handle fade smoother
[quassel.git]
/
src
/
qtui
/
chatscene.cpp
diff --git
a/src/qtui/chatscene.cpp
b/src/qtui/chatscene.cpp
index
e865c45
..
0a53dfe
100644
(file)
--- a/
src/qtui/chatscene.cpp
+++ b/
src/qtui/chatscene.cpp
@@
-582,11
+582,12
@@
void ChatScene::updateSceneRect(const QRectF &rect) {
update();
}
update();
}
-
void ChatScene::customEvent(QEvent *event
) {
-
switch(event->type()
) {
- default:
-
return
;
+
bool ChatScene::event(QEvent *e
) {
+
if(e->type() == QEvent::ApplicationPaletteChange
) {
+ _firstColHandle->setColor(QApplication::palette().windowText().color());
+
_secondColHandle->setColor(QApplication::palette().windowText().color())
;
}
}
+ return QGraphicsScene::event(e);
}
void ChatScene::loadWebPreview(ChatItem *parentItem, const QString &url, const QRectF &urlRect) {
}
void ChatScene::loadWebPreview(ChatItem *parentItem, const QString &url, const QRectF &urlRect) {