projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable per-chat history, line wrap by default
[quassel.git]
/
src
/
qtui
/
chatitem.cpp
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
45abc82
..
4710639
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-836,7
+836,7
@@
void ContentsChatItem::copyLinkToClipboard()
void ContentsChatItem::showWebPreview(const Clickable &click)
{
void ContentsChatItem::showWebPreview(const Clickable &click)
{
-#if
ndef HAVE_WEBKIT
+#if
!defined HAVE_WEBKIT && !defined HAVE_WEBENGINE
Q_UNUSED(click);
#else
QTextLine line = layout()->lineForTextPosition(click.start());
Q_UNUSED(click);
#else
QTextLine line = layout()->lineForTextPosition(click.start());
@@
-859,7
+859,7
@@
void ContentsChatItem::showWebPreview(const Clickable &click)
void ContentsChatItem::clearWebPreview()
{
void ContentsChatItem::clearWebPreview()
{
-#if
def HAVE_WEBKIT
+#if
defined HAVE_WEBKIT || defined HAVE_WEBENGINE
chatScene()->clearWebPreview(this);
#endif
}
chatScene()->clearWebPreview(this);
#endif
}