mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Fixed Compile error!
This commit is contained in:
parent
20c03ba459
commit
44f3b96b32
@ -138,7 +138,6 @@ QString FileSchemeReply::loadDirectory()
|
|||||||
{
|
{
|
||||||
const QDir &dir = QDir(request().url().toLocalFile());
|
const QDir &dir = QDir(request().url().toLocalFile());
|
||||||
const QFileInfoList &list = dir.entryInfoList(QDir::AllEntries | QDir::Hidden, QDir::Name | QDir::DirsFirst);
|
const QFileInfoList &list = dir.entryInfoList(QDir::AllEntries | QDir::Hidden, QDir::Name | QDir::DirsFirst);
|
||||||
const QFileIconProvider &iconProvider = QFileIconProvider();
|
|
||||||
|
|
||||||
static QString sPage;
|
static QString sPage;
|
||||||
|
|
||||||
@ -182,7 +181,7 @@ QString FileSchemeReply::loadDirectory()
|
|||||||
}
|
}
|
||||||
|
|
||||||
line += "><td class=\"td-name\" style=\"background-image:url(data:image/png;base64,";
|
line += "><td class=\"td-name\" style=\"background-image:url(data:image/png;base64,";
|
||||||
line += qz_pixmapToByteArray(iconProvider.icon(info).pixmap(16));
|
line += qz_pixmapToByteArray(QFileIconProvider().icon(info).pixmap(16));
|
||||||
line += ");\">";
|
line += ");\">";
|
||||||
line += "<a href=\"";
|
line += "<a href=\"";
|
||||||
line += QUrl::fromLocalFile(info.absoluteFilePath()).toEncoded();
|
line += QUrl::fromLocalFile(info.absoluteFilePath()).toEncoded();
|
||||||
|
Loading…
Reference in New Issue
Block a user