projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118c68a
)
hope this properly removes the preview from the scene...
author
Marcus Eggenberger
<egs@quassel-irc.org>
Sat, 4 Oct 2008 23:56:36 +0000
(
01:56
+0200)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Sat, 4 Oct 2008 23:56:36 +0000
(
01:56
+0200)
src/qtui/chatscene.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatscene.cpp
b/src/qtui/chatscene.cpp
index
d778df2
..
7db1f17
100644
(file)
--- a/
src/qtui/chatscene.cpp
+++ b/
src/qtui/chatscene.cpp
@@
-623,10
+623,8
@@
void ChatScene::showWebPreview() {
void ChatScene::clearWebPreviewEvent() {
#ifdef HAVE_WEBKIT
if(webPreview.previewItem) {
- if(
!webPreview.delayTimer.isActiv
e())
+ if(
webPreview.previewItem->scen
e())
removeItem(webPreview.previewItem);
- else
- webPreview.delayTimer.stop();
delete webPreview.previewItem;
webPreview.previewItem = 0;
}