summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebenginedownloaditem.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-17 13:59:00 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-21 10:02:58 +0000
commitccb373c4937777ce4af10918f7412c606cbd56ce (patch)
tree93d892fdfe4b687d3d391e45338bd3c1c027a425 /src/webenginewidgets/api/qwebenginedownloaditem.h
parent1e4a0d70224cf48ae9834858848a5d68fd0a96c5 (diff)
fix metaobject signature of QWebEngineDownloadItem::stateChanged
We need to fully qualify enum parameters in signals/slots for the meta-object system. Otherwise the old QObject connection syntax will not work. Task-number: QTBUG-48309 Change-Id: I7a99d8a924ed3566c410c1c0ee7392e863fb2030 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebenginedownloaditem.h')
-rw-r--r--src/webenginewidgets/api/qwebenginedownloaditem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webenginewidgets/api/qwebenginedownloaditem.h b/src/webenginewidgets/api/qwebenginedownloaditem.h
index d362131f2..9fbf42ad3 100644
--- a/src/webenginewidgets/api/qwebenginedownloaditem.h
+++ b/src/webenginewidgets/api/qwebenginedownloaditem.h
@@ -76,7 +76,7 @@ public Q_SLOTS:
Q_SIGNALS:
void finished();
- void stateChanged(DownloadState state);
+ void stateChanged(QWebEngineDownloadItem::DownloadState state);
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
private: