logic: Use ControllerProxy in Bookmarking UI classes instead of messaging
* changed ControllerProxy to template class * allow passing method pointers and arguments to ControllerProxy * replaced some messages with ControllerProxy calls * moved logic from BookmarkView into BookmarkController
This commit is contained in:
@@ -540,6 +540,8 @@ void QtProjectWizzard::duplicateSelectedSourceGroup()
|
||||
case SOURCE_GROUP_CXX_CDB:
|
||||
newSourceGroup = std::make_shared<SourceGroupSettingsCxxCdb>(*dynamic_cast<SourceGroupSettingsCxxCdb*>(oldSourceGroup.get()));
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
newSourceGroup->setId(utility::getUuidString());
|
||||
|
||||
Reference in New Issue
Block a user