Quote Originally Posted by nbkhwjm View Post
Preferences *prefs = new Preferences(this);
There is no such constructor declared in preferences.h --- there's only Preferences::Preferences().

Quote Originally Posted by nbkhwjm View Post
prefs.exec();
prefs is a pointer, so it should be "prefs->exec();".