Gui: Use override etc 2

This commit is contained in:
berniev
2022-08-09 13:56:15 +10:00
committed by wwmayer
parent 810c3780de
commit 75fa455c5d
213 changed files with 1723 additions and 1723 deletions

View File

@@ -100,7 +100,7 @@ public:
px = QPixmap(w,w);
}
~Private() {
~Private() override {
try {
vpParent->OnTopWhenSelected.setValue(onTopMode);
}
@@ -109,7 +109,7 @@ public:
}
}
bool allow(App::Document *doc, App::DocumentObject *obj, const char *subname) {
bool allow(App::Document *doc, App::DocumentObject *obj, const char *subname) override {
if(editDoc!=doc->getName() ||
editObj!=obj->getNameInDocument() ||
!boost::starts_with(subname,editSub))