Commit e10b52d5 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: about: Use rich text (fix #7590).

Ubuntu bug #1038303
parent 9d7bf49b
......@@ -117,7 +117,10 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf)
+ qtr( "You are using the Qt Interface.\n\n" )
+ qtr( "Copyright (C) " ) + COPYRIGHT_YEARS
+ qtr( " by the VideoLAN Team.\n" )
+ "http://www.videolan.org" );
+ "<a href=\"http://www.videolan.org\">http://www.videolan.org</a>" );
/* Be translators friendly: Convert to rich text */
ui.infoLabel->setText( ui.infoLabel->text().replace( "\n", "<br/>" ) );
/* GPL License */
ui.licenseEdit->setText( qfu( psz_license ) );
......
......@@ -63,9 +63,15 @@
<property name="text">
<string notr="true">infoLabel</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
</property>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment