This creates a local variable called internalAppSettings that gets destroyed immediately when the constructor returns. Your member variable is left uninitialized. Try this instead:
Qt Code:
}To copy to clipboard, switch view to plain text mode
Or better yet simply don't declare "internalAppSettings" as a pointer but instead as a regular object and then leave the constructor empty.
Bookmarks