X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=fd68ecc88a7a3ec3779996aa4dbaec99b5d969dc;hp=20dad9daf9cd5d89d2aba6c2c979d2e6f0778fdc;hb=0e755439e2447649e91c2d016e088b05b4637add;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b 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 }