diff options
| author | Bharadwaj Raju <[email protected]> | 2022-02-02 09:41:10 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2022-02-02 09:41:10 +0000 |
| commit | 487e95376dc6021c4d7e52a2a8b98d1da9fb4fd3 (patch) | |
| tree | 6cdb6c7a30ce8108aac997d126828f8cac45e43c /src/panels/information | |
| parent | 851b356f38d6075a45f8db60596460f3f3828b97 (diff) | |
Don't set ignoreMaximumSize on preview jobs for slow files
With this change (plus https://invent.kde.org/frameworks/kio/-/merge_requests/702), slow files will be treated as remote files for generating previews. This should make browsing local mounts of remote locations smoother.
Diffstat (limited to 'src/panels/information')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index bb5f793cd..53aac6dc1 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -187,7 +187,7 @@ void InformationPanelContent::refreshPixmapView() QSize(m_preview->width(), m_preview->height()), &plugins); m_previewJob->setScaleType(KIO::PreviewJob::Unscaled); - m_previewJob->setIgnoreMaximumSize(m_item.isLocalFile()); + m_previewJob->setIgnoreMaximumSize(m_item.isLocalFile() && !m_item.isSlow()); if (m_previewJob->uiDelegate()) { KJobWidgets::setWindow(m_previewJob, this); } |
