summaryrefslogtreecommitdiffstats
path: root/examples/webkit/fancybrowser/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/fancybrowser/mainwindow.cpp')
-rw-r--r--examples/webkit/fancybrowser/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/webkit/fancybrowser/mainwindow.cpp b/examples/webkit/fancybrowser/mainwindow.cpp
index cfc5500..6b3f983 100644
--- a/examples/webkit/fancybrowser/mainwindow.cpp
+++ b/examples/webkit/fancybrowser/mainwindow.cpp
@@ -120,6 +120,7 @@ void MainWindow::slotSourceDownloaded()
textEdit->setAttribute(Qt::WA_DeleteOnClose);
textEdit->show();
textEdit->setPlainText(reply->readAll());
+ reply->deleteLater();
}
//! [4]