summaryrefslogtreecommitdiffstats
path: root/src/exporters/mmfexporter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 12:59:13 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:37:57 +0900
commitf6082cf0a5a2d044400fbdc99cb5747589f31889 (patch)
treeb655f92d73cd1fd6cf363ddbcf64c5fe471490a7 /src/exporters/mmfexporter.cpp
parent6d9717eb18526dc2e204ac49a68e35406e442083 (diff)
downloadkrecipes-f6082cf0a5a2d044400fbdc99cb5747589f31889.tar.gz
krecipes-f6082cf0a5a2d044400fbdc99cb5747589f31889.zip
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/exporters/mmfexporter.cpp')
-rw-r--r--src/exporters/mmfexporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporters/mmfexporter.cpp b/src/exporters/mmfexporter.cpp
index 33ee1ec..33fb7d1 100644
--- a/src/exporters/mmfexporter.cpp
+++ b/src/exporters/mmfexporter.cpp
@@ -134,7 +134,7 @@ void MMFExporter::writeMMFIngredients( TQString &content, const Recipe &recipe )
void MMFExporter::writeSingleIngredient( TQString &content, const Ingredient &ing, bool is_sub )
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "Formatting" );
MixedNumber::Format number_format = ( config->readBoolEntry( "Fraction" ) ) ? MixedNumber::MixedNumberFormat : MixedNumber::DecimalFormat;