GSoC '21 KMyMoney : Identification Selector(QComboBox) unable to make work.

Thomas Baumgart thb at net-bembel.de
Mon Aug 16 20:02:18 BST 2021


On Montag, 16. August 2021 16:16:53 CEST Suraj Kumar Mahto via Kde-finance-apps wrote:

> I read up the documentation. After the changes, the widget still doesn't
> seem to work. Can you also please check the ui file if you are free since I
> have used Qt Designer first time after watching tutorials.

While compiling your code, I noticed the following:

/home/thb/devel/suraj/alkimia/src/alkonlinequotesource.cpp: In constructor ‘AlkOnlineQuoteSource::Private::Private(const AlkOnlineQuoteSource::Private*)’:
/home/thb/devel/suraj/alkimia/src/alkonlinequotesource.cpp:194:13: warning: ‘AlkOnlineQuoteSource::Private::m_idNumber’ will be initialized after [-Wreorder]
     QString m_idNumber;
             ^~~~~~~~~~
/home/thb/devel/suraj/alkimia/src/alkonlinequotesource.cpp:191:13: warning:   ‘QString AlkOnlineQuoteSource::Private::m_price’ [-Wreorder]
     QString m_price;
             ^~~~~~~
/home/thb/devel/suraj/alkimia/src/alkonlinequotesource.cpp:49:5: warning:   when initialized here [-Wreorder]
     Private(const Private *other)
     ^~~~~~~


Make sure to initialize in the right order. The following statement seems to be causing the trouble:

   m_editIdSelector->clear();

Read the doc to understand why.


-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
'I think there is a world market for maybe five computers.'
 -Thomas Watson, Chairman of IBM, 1943
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20210816/dcb1d128/attachment.sig>


More information about the Kde-finance-apps mailing list