Diffstat (limited to 'core/applets/aboutapplet/about.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/aboutapplet/about.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/aboutapplet/about.cpp b/core/applets/aboutapplet/about.cpp index bbdc1b1..3952d0a 100644 --- a/core/applets/aboutapplet/about.cpp +++ b/core/applets/aboutapplet/about.cpp | |||
@@ -1,9 +1,10 @@ | |||
1 | #include "about.h" | 1 | #include "about.h" |
2 | #include "dialog.h" | 2 | #include "dialog.h" |
3 | 3 | ||
4 | #include <qpe/qpeapplication.h> | ||
4 | #include <qpe/resource.h> | 5 | #include <qpe/resource.h> |
5 | #include <qpe/qcopenvelope_qws.h> | 6 | #include <qpe/qcopenvelope_qws.h> |
6 | 7 | ||
7 | #include <qapplication.h> | 8 | #include <qapplication.h> |
8 | #include <qlabel.h> | 9 | #include <qlabel.h> |
9 | 10 | ||
@@ -57,14 +58,13 @@ QPopupMenu *AboutApplet::popup ( QWidget * ) const | |||
57 | void AboutApplet::activated() | 58 | void AboutApplet::activated() |
58 | { | 59 | { |
59 | AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true ); | 60 | AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true ); |
60 | if ( qApp->desktop()->width() == 240 ) | 61 | if ( qApp->desktop()->width() == 240 ) |
61 | { | 62 | { |
62 | d->logo->hide(); | 63 | d->logo->hide(); |
63 | d->setFixedWidth( qApp->desktop()->width() - 5 ); | 64 | d->showMaximized(); |
64 | d->setFixedHeight( qApp->desktop()->height() - 50 ); | ||
65 | } | 65 | } |
66 | d->exec(); | 66 | d->exec(); |
67 | } | 67 | } |
68 | 68 | ||
69 | QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) | 69 | QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) |
70 | { | 70 | { |