mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Show multiple names in the Credits list better.
This commit is contained in:
parent
5f4e886ebc
commit
3d6291eca6
8
about.cc
8
about.cc
|
@ -41,8 +41,12 @@ About::About( QWidget * parent ): QDialog( parent )
|
|||
|
||||
if ( colon != -1 )
|
||||
{
|
||||
str.replace( colon, 1, "</font><br> " );
|
||||
str.prepend( "<font color='blue'>" );
|
||||
QString name( str.left( colon ) );
|
||||
|
||||
name.replace( ", ", "<br>" );
|
||||
|
||||
str = "<font color='blue'>" + name + "</font><br> "
|
||||
+ str.mid( colon + 1 );
|
||||
}
|
||||
|
||||
html += str;
|
||||
|
|
Loading…
Reference in a new issue