Fix MainToolBar visibility not saving in OSX

The current code, although completely valid, doesn't work due to moc not
seeing built in defines. See;
https://bugreports.qt-project.org/browse/QTBUG-34593

Although we don't call the method unless we are in OSX, there is a
nop method that makes the compilers happy for other OSes.