diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-21 13:07:16 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-21 19:04:42 +0900 |
| commit | d25f64ed4549be67aecd5160fac92c555c1bebce (patch) | |
| tree | ed082708731b5c910c2a2bb3ac44a5c4f56bb842 | |
| parent | e9ff844859434097d79e6d1b6393ce5eb81c2726 (diff) | |
| download | digikam-d25f64ed4549be67aecd5160fac92c555c1bebce.tar.gz digikam-d25f64ed4549be67aecd5160fac92c555c1bebce.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 015b36e07410f5f8a7eefecc24d57717cb90e01d)
| -rw-r--r-- | src/libs/themeengine/themeengine.cpp | 10 | ||||
| -rw-r--r-- | src/utilities/imageeditor/canvas/iccsettingscontainer.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/themeengine/themeengine.cpp b/src/libs/themeengine/themeengine.cpp index 331ffa5d..68fb5906 100644 --- a/src/libs/themeengine/themeengine.cpp +++ b/src/libs/themeengine/themeengine.cpp @@ -836,7 +836,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("BannerBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->bannerBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->bannerBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("BannerBorderColor")); @@ -905,7 +905,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailRegularBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->thumbRegBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->thumbRegBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailRegularBorderColor")); @@ -974,7 +974,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailSelectedBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->thumbSelBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->thumbSelBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ThumbnailSelectedBorderColor")); @@ -1043,7 +1043,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewRegularBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->listRegBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->listRegBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewRegularBorderColor")); @@ -1112,7 +1112,7 @@ bool ThemeEngine::saveTheme() themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewSelectedBorder")); - e.setAttribute(TQString::fromLatin1("value"), (t->listSelBorder ? "TRUE" : "FALSE")); + e.setAttribute(TQString::fromLatin1("value"), (t->listSelBorder ? "true" : "false")); themeElem.appendChild(e); e = xmlDoc.createElement(TQString::fromLatin1("ListviewSelectedBorderColor")); diff --git a/src/utilities/imageeditor/canvas/iccsettingscontainer.h b/src/utilities/imageeditor/canvas/iccsettingscontainer.h index eadb12fb..e292a6e5 100644 --- a/src/utilities/imageeditor/canvas/iccsettingscontainer.h +++ b/src/utilities/imageeditor/canvas/iccsettingscontainer.h @@ -63,8 +63,8 @@ public: bool enableCMSetting; - // FALSE -> apply - // TRUE -> ask + // false -> apply + // true -> ask bool askOrApplySetting; bool BPCSetting; bool managedViewSetting; |
