Hello Albert,<br><br>nice work but I have some comments.<br><br>Operator== should have return type bool and not int(I saw that ScDocOptions used int too, but I have changed that already). <br>But all in all I think we shouldn't introduce operator== there. <br>
I didn't like the old approach with operator== but after your changes it seems even more unnecessary. Let's just use ScAppOptions directly and set the keybinding even if it is the same keybinding as the old one. With this approach you don't need to compare two ScAppOptions instances and there is no need for operator== anymore. And all in all I think we can remove the two dynamically created ScAppOption instances with this approach.<br>
<br>If you need some more information or advise, feel free to ask.<br><br>Regards, <br>Markus<br>
<br>