mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Merge branch 'Applications/16.12'
This commit is contained in:
commit
4eea1dc5a1
|
@ -852,7 +852,8 @@ void KStandardItemListWidget::hideEvent(QHideEvent* event)
|
|||
|
||||
bool KStandardItemListWidget::event(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowDeactivate || event->type() == QEvent::WindowActivate) {
|
||||
if (event->type() == QEvent::WindowDeactivate || event->type() == QEvent::WindowActivate
|
||||
|| event->type() == QEvent::PaletteChange) {
|
||||
m_dirtyContent = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <QGraphicsSceneDragDropEvent>
|
||||
#include <QTimer>
|
||||
#include <QScrollBar>
|
||||
#include <QPixmapCache>
|
||||
#include <QPointer>
|
||||
#include <QMenu>
|
||||
#include <QVBoxLayout>
|
||||
|
@ -731,6 +732,7 @@ bool DolphinView::eventFilter(QObject* watched, QEvent* event)
|
|||
switch (event->type()) {
|
||||
case QEvent::PaletteChange:
|
||||
updatePalette();
|
||||
QPixmapCache::clear();
|
||||
break;
|
||||
|
||||
case QEvent::KeyPress:
|
||||
|
|
Loading…
Reference in a new issue