[Kmymoney-devel] [Bug 229638] Editing price in Price Editor always sets date to current date

Ian Neal iann_bugzilla at blueyonder.co.uk
Sat Mar 13 22:08:45 CET 2010

  Having spoken to Thomas on IRC about this, I have now generated a 
revised patch for KMM2 that has a validity check on the date passed 
before it is used.

New patch is at https://bugs.kde.org/attachment.cgi?id=41603



Ian Neal wrote:
> The patch for KMyMoney2 is at https://bugs.kde.org/attachment.cgi?id=41369
> Both patches remove the line:
> m_dateEdit->setDate(QDate::currentDate());
> from
> KCurrencyCalculator::setupPriceEditor
> I'd done some testing round the bits of code that call 
> setupPriceEditor to check there was no breakage in it. We don't have 
> tests round the UI at the moment do we?
> Ian
> Thomas Baumgart wrote:
>> On Tuesday 09 March 2010 01:00:44 Alvaro Soliverez wrote:
>>> Yes, please. Fwd the patch to Thomas or me.
>> Question: does it even apply? In Qt3
>>    QDate::setDate(QDate())
>> had a different result than in Qt4. In Qt3 the date entry is set to invalid,
>> in Qt4 it is set to the current date.
>> _______________________________________________
>> KMyMoney-devel mailing list
>> KMyMoney-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney-devel

More information about the KMyMoney-devel mailing list