mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
refs #800, fixed issues reported by MS
https://dev.vatsim-germany.org/issues/800#note-2
This commit is contained in:
@@ -438,9 +438,14 @@ namespace BlackGui
|
||||
if (name.isEmpty())
|
||||
{
|
||||
// create a name
|
||||
if (this->getDockWidgetInfoArea()) { name = this->getDockWidgetInfoArea()->windowTitle(); }
|
||||
else if (!windowTitle().isEmpty()) { name = this->windowType(); }
|
||||
else { name = this->metaObject()->className(); }
|
||||
if (this->getDockWidgetInfoArea())
|
||||
{
|
||||
name = this->getDockWidgetInfoArea()->windowTitle();
|
||||
}
|
||||
else
|
||||
{
|
||||
name = this->metaObject()->className();
|
||||
}
|
||||
}
|
||||
if (!name.endsWith(CFileUtils::jsonAppendix(), Qt::CaseInsensitive))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user