From 6bc99a9ba6bf43ee53cc831cf60c6a914f0aafc4 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 17 Aug 2017 17:02:10 +0200 Subject: [PATCH 1/2] hopefully fixed black screen issue on mac --- src/widgets/chatwidgetview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/widgets/chatwidgetview.cpp b/src/widgets/chatwidgetview.cpp index 0aa537741..37735f9ef 100644 --- a/src/widgets/chatwidgetview.cpp +++ b/src/widgets/chatwidgetview.cpp @@ -26,7 +26,9 @@ ChatWidgetView::ChatWidgetView(ChatWidget *_chatWidget) , scrollBar(this) , userPopupWidget(_chatWidget->getChannelRef()) { +#ifndef Q_OS_MAC this->setAttribute(Qt::WA_OpaquePaintEvent); +#endif this->setMouseTracking(true); QObject::connect(&SettingsManager::getInstance(), &SettingsManager::wordTypeMaskChanged, this, @@ -152,6 +154,7 @@ void ChatWidgetView::paintEvent(QPaintEvent * /*event*/) _painter.setRenderHint(QPainter::SmoothPixmapTransform); // only update gif emotes +#ifndef Q_OS_MAC if (this->onlyUpdateEmotes) { this->onlyUpdateEmotes = false; @@ -163,6 +166,7 @@ void ChatWidgetView::paintEvent(QPaintEvent * /*event*/) return; } +#endif // update all messages this->gifEmotes.clear(); From f9f769f693b1059fdd4214ce7422a910c245d5b7 Mon Sep 17 00:00:00 2001 From: fourtf Date: Thu, 17 Aug 2017 17:29:54 +0200 Subject: [PATCH 2/2] fixed the groupbox for ians scuffed kde setup --- resources/qss/settings.qss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/qss/settings.qss b/resources/qss/settings.qss index 5ddacf467..f43dbb295 100644 --- a/resources/qss/settings.qss +++ b/resources/qss/settings.qss @@ -13,3 +13,7 @@ SettingsDialogTab:hover { QLabel, QCheckBox, QGroupBox, SettingsDialogTab { color: white; } + +QGroupBox { + background-color: #444; +}