should be:

void Application::loadSettings(QSettings* set) {