Bug 485665 - QMetaObject::invokeMethod: No such method KMyMoneyApp::slotFileNew(QUrl)
Summary: QMetaObject::invokeMethod: No such method KMyMoneyApp::slotFileNew(QUrl)
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 08:47 UTC by Ralf Habacker
Modified: 2024-08-17 17:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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