The first time ProfileManager::instance()->allProfiles() is called, it will open the profile file and load all profiles. The problem was, addShortcutAction was already connected to profileAdded signal and triggering while loading the profile file. Solution is move the "load profile" up, before the connections are made.wilder
parent
d10576ccf3
commit
03bcf1ad9b
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue