[qet] [1311] fix format in aboutqet.cpp

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1311
Author:   scorpio810
Date:     2011-08-17 12:16:44 +0200 (Wed, 17 Aug 2011)
Log Message:
-----------
fix format in aboutqet.cpp

Modified Paths:
--------------
    branches/0.3/sources/aboutqet.cpp

Modified: branches/0.3/sources/aboutqet.cpp
===================================================================
--- branches/0.3/sources/aboutqet.cpp	2011-08-15 16:00:20 UTC (rev 1310)
+++ branches/0.3/sources/aboutqet.cpp	2011-08-17 10:16:44 UTC (rev 1311)
@@ -126,10 +126,13 @@
 	addAuthor(translators, "Gabi Mandoc",                "gabriel.mandoc@xxxxxx",       tr("Traduction en roumain"));
 	addAuthor(translators, "Alessandro Conti",           "dr.slump@xxxxxxxxxxxx",       tr("Traduction en italien"));
 	
-	translators -> setAlignment(Qt::AlignCenter);
-	translators -> setOpenExternalLinks(true);
-	translators -> setTextFormat(Qt::RichText);
-	return(translators);
+        translators -> setOpenExternalLinks(true);
+        translators -> setTextFormat(Qt::RichText);
+
+        QWidget *translators_widget = new QWidget();
+        QHBoxLayout *translators_layout = new QHBoxLayout(translators_widget);
+        translators_layout -> addWidget(translators, 0, Qt::AlignCenter);
+        return(translators_widget);
 }
 
 /**
@@ -143,10 +146,13 @@
 	addAuthor(contributors, "Laurent Trinques",    "scorpio@xxxxxxxxxxxxxxxx",    tr("Paquets Debian"));
 	addAuthor(contributors, "Nuno Pinheiro",       "nuno@xxxxxxxxxxxxxx",         tr("Ic\364nes"));
 	
-	contributors -> setAlignment(Qt::AlignCenter);
-	contributors -> setOpenExternalLinks(true);
-	contributors -> setTextFormat(Qt::RichText);
-	return(contributors);
+        contributors -> setOpenExternalLinks(true);
+        contributors -> setTextFormat(Qt::RichText);
+
+        QWidget *contributors_widget = new QWidget();
+        QHBoxLayout *contributors_layout = new QHBoxLayout(contributors_widget);
+        contributors_layout -> addWidget(contributors, 0, Qt::AlignCenter);
+        return(contributors_widget);
 }
 
 /**


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/