#include <QGraphicsSceneDragDropEvent>
#include <QTimer>
#include <QScrollBar>
+ #include <QPixmapCache>
#include <QPointer>
#include <QMenu>
#include <QVBoxLayout>
switch (event->type()) {
case QEvent::PaletteChange:
updatePalette();
+ QPixmapCache::clear();
break;
case QEvent::KeyPress:
const QPoint pos = m_container->mapToGlobal(itemRect.topLeft().toPoint());
itemRect.moveTo(pos);
- m_toolTipManager->showToolTip(item, itemRect);
+ m_toolTipManager->showToolTip(item, itemRect, nativeParentWidget()->windowHandle());
}
emit requestItemInfo(item);
KIO::Job * job = KIO::moveAs(oldUrl, newUrl);
KJobWidgets::setWindow(job, this);
KIO::FileUndoManager::self()->recordJob(KIO::FileUndoManager::Rename, {oldUrl}, newUrl, job);
- job->ui()->setAutoErrorHandlingEnabled(true);
+ job->uiDelegate()->setAutoErrorHandlingEnabled(true);
if (!newNameExistsAlready) {
// Only connect the result signal if there is no item with the new name