Skip to content

Commit

Permalink
Use consistent copyright formating in About dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Jun 9, 2017
1 parent 8366439 commit 4a8bff6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/gui/aboutdialog.cpp
Expand Up @@ -56,7 +56,9 @@ QString helpDeveloper(const char *name, const char *mail)
QString helpLib(const char *name, const QString &copyright, const char *url)
{
return QString("<p><span class='library'>%1</span>"
"&nbsp;&nbsp;&nbsp;<br />%2<br />%3</p>")
"&nbsp;&nbsp;&nbsp;<br />"
"<span class='copyright'>%2</span><br />"
"%3</p>")
.arg(name)
.arg(copyright)
.arg( helpUrl(url) );
Expand Down Expand Up @@ -91,7 +93,7 @@ QString AboutDialog::aboutPage()
"#title{font-size:26pt;color:#666;white-space:pre;margin-bottom:0.2em}"
"#subtitle{font-size:16pt;color:#888;white-space:pre;margin-bottom:0.2em}"
"#version{font-size:12pt}"
"#copyright{font-size:9pt;color:#666}"
".copyright{font-size:9pt;color:#666}"
".icon{font-family:FontAwesome}"
".help-icon{color:#999;padding-left:1em;padding-right:1em}"
".library{font-size:12pt}"
Expand Down Expand Up @@ -119,7 +121,7 @@ QString AboutDialog::aboutPage()
"</table>"
"</p>"

"<p id='copyright'>Copyright (c) 2009 - 2017</p>"
"<p class='copyright'>Copyright (c) 2009 - 2017</p>"

"<p></p>"

Expand Down

0 comments on commit 4a8bff6

Please sign in to comment.