X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=fd68ecc88a7a3ec3779996aa4dbaec99b5d969dc;hb=69c491ea2b2542eeb1cd977db1b59ea206e1509a;hp=20dad9daf9cd5d89d2aba6c2c979d2e6f0778fdc;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;p=quassel.git diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 20dad9da..fd68ecc8 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 }