tibirna / qgit

Official git repository for QGit.
Other
174 stars 68 forks source link

Convert huge if-else chain to switch. #15

Closed reporter123 closed 6 years ago

reporter123 commented 6 years ago

Attempt to use switch in MainImpl::shortCutActivated(). The code works in qt 5.9 no depreciation warning generated.

tibirna commented 6 years ago

The submitted changes are a matter of coding style preferences and are providing no functionality improvements.