Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e10b52d5
Commit
e10b52d5
authored
Dec 22, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: about: Use rich text (fix #7590).
Ubuntu bug #1038303
parent
9d7bf49b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+4
-1
modules/gui/qt4/ui/about.ui
modules/gui/qt4/ui/about.ui
+6
-0
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
e10b52d5
...
...
@@ -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
)
);
...
...
modules/gui/qt4/ui/about.ui
View file @
e10b52d5
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment