summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clicktoflash.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clicktoflash.cpp b/src/clicktoflash.cpp
index 64dff19d..24f8740e 100644
--- a/src/clicktoflash.cpp
+++ b/src/clicktoflash.cpp
@@ -114,14 +114,13 @@ void ClickToFlash::load()
QWebElement substitute = element.clone();
emit signalLoadClickToFlash(true);
element.replace(substitute);
+ deleteLater();
return;
}
}
frames += frame->childFrames();
}
-
- deleteLater();
}