X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=47106398ae0ba6e065f9f4052c8732aed21dbaa1;hp=45abc82bd0363ef86ba21783a2cff6ebabc0d7e1;hb=0d418069762066b4640250efd5ba8d68bf0af178;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 45abc82b..47106398 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -836,7 +836,7 @@ void ContentsChatItem::copyLinkToClipboard() void ContentsChatItem::showWebPreview(const Clickable &click) { -#ifndef HAVE_WEBKIT +#if !defined HAVE_WEBKIT && !defined HAVE_WEBENGINE Q_UNUSED(click); #else QTextLine line = layout()->lineForTextPosition(click.start()); @@ -859,7 +859,7 @@ void ContentsChatItem::showWebPreview(const Clickable &click) void ContentsChatItem::clearWebPreview() { -#ifdef HAVE_WEBKIT +#if defined HAVE_WEBKIT || defined HAVE_WEBENGINE chatScene()->clearWebPreview(this); #endif }