summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webenginewidgets/api/qwebenginehistory.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginehistory.cpp b/src/webenginewidgets/api/qwebenginehistory.cpp
index 2dd69dcff..be2534de4 100644
--- a/src/webenginewidgets/api/qwebenginehistory.cpp
+++ b/src/webenginewidgets/api/qwebenginehistory.cpp
@@ -45,6 +45,10 @@
#include "qwebenginepage_p.h"
#include "web_contents_adapter.h"
+#if defined(Q_OS_WIN)
+#define __func__ __FUNCTION__
+#endif
+
QT_BEGIN_NAMESPACE
QWebEngineHistoryItemPrivate::QWebEngineHistoryItemPrivate(WebContentsAdapter *adapter, int index)
@@ -110,6 +114,7 @@ QVariant QWebEngineHistoryItem::userData() const
void QWebEngineHistoryItem::setUserData(const QVariant& userData)
{
+ Q_UNUSED(userData);
qWarning("Not implemented: %s", __func__);
}
@@ -270,17 +275,20 @@ int QWebEngineHistory::maximumItemCount() const
void QWebEngineHistory::setMaximumItemCount(int count)
{
+ Q_UNUSED(count);
qWarning("Not implemented: %s", __func__);
}
QDataStream& operator<<(QDataStream& stream, const QWebEngineHistory& history)
{
+ Q_UNUSED(history);
qWarning("Not implemented: %s", __func__);
return stream;
}
QDataStream& operator>>(QDataStream& stream, QWebEngineHistory& history)
{
+ Q_UNUSED(history);
qWarning("Not implemented: %s", __func__);
return stream;
}