update();
}
+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) {
#ifndef HAVE_WEBKIT
Q_UNUSED(parentItem)