[vlmc-devel] commit: About.ui/cpp: Turn on wordwrap for labels. Minor typo fixes. ( Rohit Yadav )
git at videolan.org
git at videolan.org
Thu Sep 23 00:44:05 CEST 2010
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Thu Sep 23 04:29:10 2010 +0530| [acf1c825945a8c7d2bc542fbc102684cda4e80f4] | committer: Rohit Yadav
About.ui/cpp: Turn on wordwrap for labels. Minor typo fixes.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=acf1c825945a8c7d2bc542fbc102684cda4e80f4
---
src/Gui/About.cpp | 2 +-
src/Gui/ui/About.ui | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/Gui/About.cpp b/src/Gui/About.cpp
index b6c65bf..4af9532 100644
--- a/src/Gui/About.cpp
+++ b/src/Gui/About.cpp
@@ -48,7 +48,7 @@ About::About( QWidget *parent ) : QDialog( parent )
m_ui.labelTitle->text().arg( PROJECT_VERSION, CODENAME ) );
m_ui.labelBuild->setText(
- m_ui.labelBuild->text().arg( HOSTNAME, SYSNAME, qVersion(), QT_VERSION_STR ) );
+ m_ui.labelBuild->text().arg( HOSTNAME, SYSNAME, QT_VERSION_STR, qVersion() ) );
m_ui.labelCopyright->setText(
m_ui.labelCopyright->text().arg( PROJECT_COPYRIGHT, PROJECT_CONTACT, ORG_WEBSITE ) );
diff --git a/src/Gui/ui/About.ui b/src/Gui/ui/About.ui
index f3c1b96..a9f2204 100644
--- a/src/Gui/ui/About.ui
+++ b/src/Gui/ui/About.ui
@@ -151,8 +151,12 @@ p, li { white-space: pre-wrap; }
<widget class="QLabel" name="labelBuild">
<property name="text">
<string>This version of VLMC was compiled on:
-%1 running %2
-You're using Qt %3 (binary compiled against Qt %4)\n</string>
+%1 running %2 compiled against Qt %3
+Your Qt runtime version: %4
+</string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
</property>
</widget>
</item>
More information about the Vlmc-devel
mailing list