Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 843971
Collapse All | Expand All

(-)a/src/widgets/previewjob.cpp (-1 / +1 lines)
Lines 576-582 void PreviewJob::slotResult(KJob *job) Link Here
576
        const KIO::filesize_t size = (KIO::filesize_t)statResult.numberValue(KIO::UDSEntry::UDS_SIZE, 0);
576
        const KIO::filesize_t size = (KIO::filesize_t)statResult.numberValue(KIO::UDSEntry::UDS_SIZE, 0);
577
        const QUrl itemUrl = d->currentItem.item.mostLocalUrl();
577
        const QUrl itemUrl = d->currentItem.item.mostLocalUrl();
578
578
579
        if ((itemUrl.isLocalFile() || KProtocolInfo::protocolClass(itemUrl.scheme()) == QLatin1String(":local")) && !d->currentItem.item.isSlow()) {
579
        if (itemUrl.isLocalFile() || KProtocolInfo::protocolClass(itemUrl.scheme()) == QLatin1String(":local")) {
580
            skipCurrentItem = !d->ignoreMaximumSize && size > d->maximumLocalSize && !d->currentItem.plugin.value(QStringLiteral("IgnoreMaximumSize"), false);
580
            skipCurrentItem = !d->ignoreMaximumSize && size > d->maximumLocalSize && !d->currentItem.plugin.value(QStringLiteral("IgnoreMaximumSize"), false);
581
        } else {
581
        } else {
582
            // For remote items the "IgnoreMaximumSize" plugin property is not respected
582
            // For remote items the "IgnoreMaximumSize" plugin property is not respected

Return to bug 843971