Revision a94b4b5...
Go back to digest for 2nd September 2012Bug Fixes in Utilities
José Manuel Santamaría Lema committed changes in [krecipes] /:
Create a QValidator for MixedNumber.
Also I have added an incomplete mixednumber test. I needed it to solve a bug
which I introduced when I was working on this commit.
Furthermore, I removed the default value for locale_aware, in my opinion it's
too prone to mistakes.
This new validator isn't used yet, but it will be useful in the future.
File Changes
Added 4 files
- src/tests/mixednumber.cpp
- src/tests/mixednumber.h
- src/validators/mixednumbervalidator.cpp
- src/validators/mixednumbervalidator.h
Modified 15 files
- src/CMakeLists.txt
- src/datablocks/ingredient.cpp
- src/datablocks/mixednumber.cpp
- src/datablocks/mixednumber.h
- src/dialogs/editratingdialog.cpp
- src/dialogs/ingredientmatcherdialog.cpp
- src/dialogs/refineshoppinglistdialog.cpp
- src/dialogs/resizerecipedialog.cpp
- src/importers/mmfimporter.cpp
- src/importers/mx2importer.cpp
- src/importers/mxpimporter.cpp
- src/importers/nycgenericimporter.cpp
- src/importers/recipemlimporter.cpp
- src/importers/rezkonvimporter.cpp
- src/widgets/conversiontable.cpp
19 files changed in total