[SCM] Kaboom - Debian KDE 3->4 migration tool branch, master, updated. 1b5c7e7895636c75711c20f91a4f1201de897b76

Sune Vuorela pusling-guest at alioth.debian.org
Tue Feb 24 07:50:32 UTC 2009


The following commit has been merged in the master branch:
commit 9e8c1753ce36545afb3bb0541c4fcd6abaf21777
Author: Sune Vuorela <sune at vuorela.dk>
Date:   Tue Feb 24 08:48:25 2009 +0100

    wordwrap on label, wizardpage title and proper Qt parenthood

diff --git a/warningpage.cpp b/warningpage.cpp
index 525f621..7d48ffa 100644
--- a/warningpage.cpp
+++ b/warningpage.cpp
@@ -18,7 +18,9 @@
 
 WarningPage::WarningPage(QWidget *parent) : QWizardPage(parent)
 {
-  QLabel *text = new QLabel(tr("You have selected a potentially harmful operation and not to backup data. You will most likely lose data here. Are you completely sure?"));
+  setTitle(tr("Warning"));
+  QLabel *text = new QLabel(tr("You have selected a potentially harmful operation and not to backup data. You will most likely lose data here. Are you completely sure?"),this);
+  text->setWordWrap(true);
   QHBoxLayout *lay = new QHBoxLayout();
   lay->addWidget(text);
   setLayout(lay);

-- 
Kaboom - Debian KDE 3->4 migration tool



More information about the pkg-kde-commits mailing list