Skip to content
Commit 97cbd641 authored by Constantin Berzan's avatar Constantin Berzan
Browse files

* Add a test for the behaviour of AttributeFactory.

* Don't crash when someone forgets to register an attribute.  Display a warning instead.

I had initially planned to put the warning in AttributeFactory::createAttribute(), but that resulted in a lot of noise since e.g. akonadiconsole uses unknown attributes.  So I put the warning when Entity::attribute() tries to cast it instead.

svn path=/trunk/KDE/kdepimlibs/; revision=973946
parent 00b9fdcb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment