From 0efb24f7fc92df09cf389f61e890201000323d58 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 22 Dec 2018 22:58:18 +0100 Subject: [PATCH] Minor tweaks, style --- src/blackgui/components/dbmappingcomponent.cpp | 1 + src/blackmisc/applicationinfo.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blackgui/components/dbmappingcomponent.cpp b/src/blackgui/components/dbmappingcomponent.cpp index 7fbe96b83..97307b2d8 100644 --- a/src/blackgui/components/dbmappingcomponent.cpp +++ b/src/blackgui/components/dbmappingcomponent.cpp @@ -98,6 +98,7 @@ namespace BlackGui ui->comp_StashAircraft->view()->setCustomMenu(new COwnModelSetMenu(this)); ui->comp_StashAircraft->view()->setCustomMenu(new CStashToolsMenu(this)); + ui->comp_ModelWorkbench->view()->menuAddItems(CAircraftModelView::MenuClear | CAircraftModelView::MenuRemoveSelectedRows); ui->comp_ModelWorkbench->view()->setCustomMenu(new CApplyDbDataMenu(this)); ui->comp_ModelWorkbench->view()->setCustomMenu(new COwnModelSetMenu(this)); ui->comp_ModelWorkbench->view()->setCustomMenu(new CStashToolsMenu(this)); diff --git a/src/blackmisc/applicationinfo.h b/src/blackmisc/applicationinfo.h index 175f26470..519c687fe 100644 --- a/src/blackmisc/applicationinfo.h +++ b/src/blackmisc/applicationinfo.h @@ -143,7 +143,7 @@ namespace BlackMisc //! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex void setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant); - //! Compare by index + //! \copydoc BlackMisc::Mixin::Index::comparePropertyByIndex int comparePropertyByIndex(const CPropertyIndex &index, const CApplicationInfo &compareValue) const; //! Name of pilot client GUI