suppress warning
This commit is contained in:
parent
d41d12cff8
commit
2d0df9b093
|
@ -25,6 +25,8 @@ QString generateWindowTitle(DocumentStatus documentStatus, const QString &docume
|
|||
}
|
||||
case DocumentStatus::NoDocument:
|
||||
return QCoreApplication::applicationName();
|
||||
default:
|
||||
return QString(); // to suppress warning: "control reaches end of non-void function"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue