summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index c66d3727..92552e7e 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -49,7 +49,6 @@
#include <QActionGroup>
#include <QHBoxLayout>
#include <QVBoxLayout>
-#include <QLabel>
#include <QSizePolicy>
#include <QPixmap>
#include <QStylePainter>
@@ -57,6 +56,7 @@
#include <QWebSettings>
#include <QFile>
#include <QTextDocument>
+#include <QBitArray>
ListItem::ListItem(const UrlSearchItem &item, QWidget *parent)
@@ -392,14 +392,14 @@ ImageLabel::ImageLabel(const QString &url, int width, int height, QWidget *paren
{
KIO::TransferJob *job = KIO::get(KUrl(url), KIO::NoReload, KIO::HideProgressInfo);
connect(job, SIGNAL(data(KIO::Job*,QByteArray)),
- this, SLOT(slotData(KIO::Job*,QByteArray)));
+ this, SLOT(slotData(KJob*,QByteArray)));
connect(job, SIGNAL(result(KJob*)),
this, SLOT(slotResult(KJob*)));
}
}
-void ImageLabel::slotData(KIO::Job *job, const QByteArray &data)
+void ImageLabel::slotData(KJob *job, const QByteArray &data)
{
Q_UNUSED(job);
m_data.append(data);