projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add "this" when create Qt obiect.
[mdictionary]
/
trunk
/
src
/
base
/
gui
/
AboutWidget.cpp
diff --git
a/trunk/src/base/gui/AboutWidget.cpp
b/trunk/src/base/gui/AboutWidget.cpp
index
d2edb32
..
c77d58b
100644
(file)
--- a/
trunk/src/base/gui/AboutWidget.cpp
+++ b/
trunk/src/base/gui/AboutWidget.cpp
@@
-22,19
+22,19
@@
AboutWidget::AboutWidget(GUIInterface *parent): QDialog(parent)
QString("</p></font>");
setWindowTitle(tr("About"));
QString("</p></font>");
setWindowTitle(tr("About"));
- mainLayout = new QVBoxLayout;
+ mainLayout = new QVBoxLayout(this);
#ifndef Q_WS_MAEMO_5
#ifndef Q_WS_MAEMO_5
- scrollLayout = new QVBoxLayout;
- scroll = new QScrollArea;
+ scrollLayout = new QVBoxLayout(this);
+ scroll = new QScrollArea(this);
w = new QWidget(this);
#endif
w = new QWidget(this);
#endif
- imageLabel = new QLabel;
- mainLabel = new QLabel;
- licenseLabel = new QLabel;
+ imageLabel = new QLabel(this);
+ mainLabel = new QLabel(this);
+ licenseLabel = new QLabel(this);
QImage img(":/icons/logo/mdictionary.png");
QImage img(":/icons/logo/mdictionary.png");