mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
[UI] Show VATSIM AFV map until our own map is ready
This commit is contained in:
committed by
Mat Sutcliffe
parent
848911c168
commit
9d218f39f8
@@ -637,11 +637,21 @@ bool SwiftGuiStd::startModelBrowser()
|
||||
|
||||
bool SwiftGuiStd::startAFVMap()
|
||||
{
|
||||
/**
|
||||
if (!m_mapDialog)
|
||||
{
|
||||
m_mapDialog.reset(new CAfvMapDialog(this));
|
||||
m_mapDialog->setWindowModality(Qt::NonModal);
|
||||
}
|
||||
m_mapDialog->exec();
|
||||
**/
|
||||
|
||||
//! \todo KB 2019-11 AFV map workaround
|
||||
if (sGui && !sGui->isShuttingDown())
|
||||
{
|
||||
sGui->openUrl("https://afv-map.vatsim.net/");
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user