projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove arguments of CMake's else() and endif() commands
[quassel.git]
/
src
/
qtui
/
chatitem.cpp
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
9b2e1a6
..
4710639
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
4
by the Quassel Project *
+ * Copyright (C) 2005-201
6
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-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
}