summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/packagewin.cpp12
-rw-r--r--noncore/settings/aqpkg/packagewin.h2
2 files changed, 7 insertions, 7 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 @@
-#include <qlabel.h>
#include <qlayout.h>
@@ -38,2 +37,3 @@
#include <qstring.h>
+#include <qtextview.h>
@@ -42,3 +42,2 @@ PackageWindow::PackageWindow( Package *package, const QString &server )
{
- QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 );
QString str;
@@ -104,5 +103,7 @@ PackageWindow::PackageWindow( Package *package, const QString &server )
- QLabel *l = new QLabel( str, this );
- l->setTextFormat( Qt::RichText );
- l->setAlignment( Qt::AlignLeft | Qt::AlignVCenter | Qt::WordBreak );
+ QVBoxLayout *layout = new QVBoxLayout( this, 4, 4 );
+
+ QTextView *l = new QTextView( str, QString::null, this );
+ //l->setTextFormat( Qt::RichText );
+ //l->setAlignment( Qt::AlignLeft | Qt::AlignVCenter | Qt::WordBreak );
layout->addWidget( l );
@@ -118,2 +119 @@ PackageWindow::~PackageWindow()
}
-
diff --git a/noncore/settings/aqpkg/packagewin.h b/noncore/settings/aqpkg/packagewin.h
index c1943b5..b4fdcad 100644
--- a/noncore/settings/aqpkg/packagewin.h
+++ b/noncore/settings/aqpkg/packagewin.h
@@ -38,4 +38,4 @@ class PackageWindow :public QWidget
Q_OBJECT
-public:
+public:
PackageWindow( Package * = 0x0, const QString & = QString::null );