AboutWindow::addAuthor with empty mail
This commit is contained in:
@@ -167,7 +167,10 @@ void AboutWindow::changeEvent(QEvent *e) {
|
||||
|
||||
|
||||
void addAuthor(QString & ret, const QString & name, const QString & mail) {
|
||||
ret += QString("<p>%1 (<a href=\"mailto:%2?subject=%3\">%2</a>)</p>").arg(name, mail, QApplication::applicationName());
|
||||
if (mail.isEmpty())
|
||||
ret += QString("<p>%1</p>").arg(name);
|
||||
else
|
||||
ret += QString("<p>%1 (<a href=\"mailto:%2?subject=%3\">%2</a>)</p>").arg(name, mail, QApplication::applicationName());
|
||||
}
|
||||
QString AboutWindow::authors() {
|
||||
QString ret, fc;
|
||||
|
||||
Reference in New Issue
Block a user