mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
refs #485, use Q_INTERFACES as a way of avoiding dynamic_cast
This commit is contained in:
committed by
Mathew Sutcliffe
parent
45496ce08e
commit
6d79b7dc12
@@ -47,6 +47,7 @@ namespace BlackGui
|
||||
public BlackGui::IMainWindowAccess
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(BlackGui::IMainWindowAccess)
|
||||
|
||||
public:
|
||||
//! Similar to \sa QCoreApplication::instance() returns the single instance
|
||||
|
||||
Reference in New Issue
Block a user