mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Fixed some minor issues in mapping tool (triggered by slack discussion)
* slot menu connect * stashing from model view * removed unused menu
This commit is contained in:
committed by
Mathew Sutcliffe
parent
79f95845b2
commit
76814b43be
@@ -74,24 +74,6 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CDbModelComponent> ui;
|
||||
|
||||
//! The menu for stashing models
|
||||
//! \note This is a specific menu for that very component
|
||||
class CStashMenu : public BlackGui::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CStashMenu(CDbModelComponent *modelComponent, bool separatorAtEnd) :
|
||||
BlackGui::IMenuDelegate(modelComponent, separatorAtEnd)
|
||||
{}
|
||||
|
||||
//! \copydoc IMenuDelegate::customMenu
|
||||
virtual void customMenu(QMenu &menu) const override;
|
||||
|
||||
private:
|
||||
//! Mapping component
|
||||
CDbModelComponent *modelComponent() const;
|
||||
};
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user