[qet] [2754] Refresh align authors tab

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


Revision: 2754
Author:   scorpio810
Date:     2014-01-19 15:25:11 +0100 (Sun, 19 Jan 2014)
Log Message:
-----------
Refresh align authors tab

Modified Paths:
--------------
    trunk/sources/aboutqet.cpp

Modified: trunk/sources/aboutqet.cpp
===================================================================
--- trunk/sources/aboutqet.cpp	2014-01-19 14:16:25 UTC (rev 2753)
+++ trunk/sources/aboutqet.cpp	2014-01-19 14:25:11 UTC (rev 2754)
@@ -116,10 +116,14 @@
 	addAuthor(authors, "Joshua Claveau",     "Joshua@xxxxxxxxxxxxxxxx",     tr("D\351veloppement"));
 	addAuthor(authors, "Abhishek Bansal",    "abhishek@xxxxxxxxxxxxxxxx",   tr("D\351veloppement"));
 
-	authors -> setAlignment(Qt::AlignCenter);
+
 	authors -> setOpenExternalLinks(true);
 	authors -> setTextFormat(Qt::RichText);
-	return(authors);
+
+	QWidget *authors_widget = new QWidget();
+	QHBoxLayout *authors_layout = new QHBoxLayout(authors_widget);
+	authors_layout -> addWidget(authors, 0, Qt::AlignCenter);
+	return(authors_widget);
 }
 
 /**


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