Bug 485665

Summary: QMetaObject::invokeMethod: No such method KMyMoneyApp::slotFileNew(QUrl)
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.2
Sentry Crash Report:

Description Ralf Habacker 2024-04-17 08:47:07 UTC
SUMMARY
Running kmymoney shows a warning that a requested method was not found.

STEPS TO REPRODUCE
1. Download https://cdn.kde.org/ci-builds/office/kmymoney/master/windows/kmymoney-master-3196-windows-cl-msvc2019-x86_64.7z
2.  unpack archive
3.  open command shell in included 'bin' dir
4. start kmymoney
5. open a kmymoney file

OBSERVED RESULT
In the log the following message is printed 

QMetaObject::invokeMethod: No such method KMyMoneyApp::slotFileNew(QUrl)
Candidates are:
    slotFileNew()


EXPECTED RESULT
The message should not appear

SOFTWARE/OS VERSIONS
Windows:  10
KDE Frameworks Version:  5.115.0
Qt Version: 5.15.12
Comment 1 Thomas Baumgart 2024-04-17 12:48:43 UTC
Git commit 72094f47008f20bf3faad57f763ffee61847d7b3 by Thomas Baumgart.
Committed on 17/04/2024 at 12:46.
Pushed by tbaumgart into branch 'master'.

Adjust slot's signature
FIXED-IN: 5.2

M  +1    -1    kmymoney/main.cpp

https://invent.kde.org/office/kmymoney/-/commit/72094f47008f20bf3faad57f763ffee61847d7b3
Comment 2 Ralf Habacker 2024-08-17 17:32:33 UTC
Moved to 'general' component