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:
Klaus Basan
2016-02-25 17:13:11 +01:00
committed by Mathew Sutcliffe
parent 79f95845b2
commit 76814b43be
6 changed files with 6 additions and 39 deletions

View File

@@ -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