[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/plasma/applets/notes
From: Sebastian Kügler <sebas () kde ! nl>
Date: 2008-05-12 2:04:49
Message-ID: 1210557889.664035.20475.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 806683 by sebas:
cleanup, but don't crash, please.
M +1 -3 notes.cpp
--- trunk/extragear/plasma/applets/notes/notes.cpp #806682:806683
@@ -43,7 +43,7 @@
m_defaultText = i18n("Welcome to the Notes Plasmoid! Type your notes here...");
m_textEdit = new KTextEdit();
- m_layout = new QGraphicsLinearLayout();
+ m_layout = new QGraphicsLinearLayout(this);
m_proxy = new QGraphicsProxyWidget(this);
m_autoFont = false;
@@ -57,8 +57,6 @@
//text back. it was useful when there were load/save issues but it's silly now.
saveNote();
delete m_textEdit;
- delete m_layout;
- delete m_proxy;
}
void Notes::init()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic