Core: Fix memory leak

Detected by valgrind

Change-Id: Iae3845edfcf1933c90b6b20b6af3909324ceb6fe
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2014-11-21 10:01:11 +02:00
committed by Orgad Shaneh
parent 92fbbaea9b
commit 5ad01800a3
2 changed files with 4 additions and 5 deletions

View File

@@ -44,9 +44,8 @@ QT_END_NAMESPACE
namespace Core {
namespace Internal {
class WindowList : public QObject
class WindowList
{
Q_OBJECT
public:
static void addWindow(QWidget *window);
static void removeWindow(QWidget *window);