Diffstat (limited to 'noncore/settings/aqpkg/packagewin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/packagewin.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/settings/aqpkg/packagewin.cpp b/noncore/settings/aqpkg/packagewin.cpp index f00453e..7971ccc 100644 --- a/noncore/settings/aqpkg/packagewin.cpp +++ b/noncore/settings/aqpkg/packagewin.cpp | |||
@@ -34,3 +34,2 @@ | |||
34 | 34 | ||
35 | #include <qlabel.h> | ||
36 | #include <qlayout.h> | 35 | #include <qlayout.h> |
@@ -38,2 +37,3 @@ | |||
38 | #include <qstring.h> | 37 | #include <qstring.h> |
38 | #include <qtextview.h> | ||
39 | 39 | ||
@@ -42,3 +42,2 @@ PackageWindow::PackageWindow( Package *package, const QString &server ) | |||
42 | { | 42 | { |
43 | QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 ); | ||
44 | QString str; | 43 | QString str; |
@@ -103,8 +102,10 @@ PackageWindow::PackageWindow( Package *package, const QString &server ) | |||
103 | } | 102 | } |
104 | 103 | ||
105 | QLabel *l = new QLabel( str, this ); | 104 | QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 ); |
106 | l->setTextFormat( Qt::RichText ); | 105 | |
107 | l->setAlignment( Qt::AlignLeft | Qt::AlignVCenter | Qt::WordBreak ); | 106 | QTextView *l = new QTextView( str, QString::null, this ); |
107 | //l->setTextFormat( Qt::RichText ); | ||
108 | //l->setAlignment( Qt::AlignLeft | Qt::AlignVCenter | Qt::WordBreak ); | ||
108 | layout->addWidget( l ); | 109 | layout->addWidget( l ); |
109 | 110 | ||
110 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "enter" ), tr( "Close" ), this ); | 111 | QPushButton *btn = new QPushButton( Resource::loadPixmap( "enter" ), tr( "Close" ), this ); |
@@ -118,2 +119 @@ PackageWindow::~PackageWindow() | |||
118 | } | } | |
119 | |||