[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/khtml_userscript
From: David Faure <faure () kde ! org>
Date: 2009-12-01 13:26:55
Message-ID: 1259674015.673326.28247.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1057092 by dfaure:
fix crash in konqhtmltest; the statusbar widget gets deleted by the statusbar, so avoid double-deletion
M +4 -3 khtml_userscript.h
--- trunk/playground/utils/khtml_userscript/khtml_userscript.h #1057091:1057092
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007 Akhmad Fathonih <akhmadf@gmail.com>
+* Copyright (c) 2007 Akhmad Fathonih <akhmadf@gmail.com>
* Copyright (c) 2007 Mathieu Ducharme <ducharme.mathieu@gmail.com>
*
* See AUTHORS for details
@@ -34,6 +34,7 @@
#include <kurllabel.h>
#include <kiconloader.h>
+#include <QPointer>
#include <qlist.h>
namespace KParts {
@@ -89,7 +90,7 @@
/**
*
*/
- KUrlLabel *m_icon;
+ QPointer<KUrlLabel> m_icon;
/**
*
@@ -120,7 +121,7 @@
public slots:
-
+
/**
* Finds the js scripts for this page and executes them
*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic