summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/packagewin.cpp
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/packagewin.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/packagewin.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/packagewin.cpp b/noncore/settings/aqpkg/packagewin.cpp
index 7971ccc..9553cd1 100644
--- a/noncore/settings/aqpkg/packagewin.cpp
+++ b/noncore/settings/aqpkg/packagewin.cpp
@@ -1,10 +1,11 @@
1/* 1/*
2                This file is part of the OPIE Project 2                This file is part of the OPIE Project
3 =. 3
4             .=l. Copyright (c) 2002 OPIE team <opie@handhelds.org?> 4 =. Copyright (c) 2002 Andy Qua <andy.qua@blueyonder.co.uk>
5             .=l. Dan Williams <drw@handhelds.org>
5           .>+-= 6           .>+-=
6 _;:,     .>    :=|. This file is free software; you can 7 _;:,     .>    :=|. This file is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under 8.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU General Public 9:`=1 )Y*s>-.--   : the terms of the GNU General Public
9.="- .-=="i,     .._ License as published by the Free Software 10.="- .-=="i,     .._ License as published by the Free Software
10 - .   .-<_>     .<> Foundation; either version 2 of the License, 11 - .   .-<_>     .<> Foundation; either version 2 of the License,
@@ -101,14 +102,12 @@ PackageWindow::PackageWindow( Package *package, const QString &server )
101 str = tr( "Package information is unavailable" ); 102 str = tr( "Package information is unavailable" );
102 } 103 }
103 104
104 QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 ); 105 QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 );
105 106
106 QTextView *l = new QTextView( str, QString::null, this ); 107 QTextView *l = new QTextView( str, QString::null, this );
107 //l->setTextFormat( Qt::RichText );
108 //l->setAlignment( Qt::AlignLeft | Qt::AlignVCenter | Qt::WordBreak );
109 layout->addWidget( l ); 108 layout->addWidget( l );
110 109
111 QPushButton *btn = new QPushButton( Resource::loadPixmap( "enter" ), tr( "Close" ), this ); 110 QPushButton *btn = new QPushButton( Resource::loadPixmap( "enter" ), tr( "Close" ), this );
112 layout->addWidget( btn ); 111 layout->addWidget( btn );
113 connect( btn, SIGNAL( clicked() ), this, SLOT( close() ) ); 112 connect( btn, SIGNAL( clicked() ), this, SLOT( close() ) );
114 113