summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-03-21 13:07:16 +0900
committerMichele Calgaro <[email protected]>2025-03-21 13:07:27 +0900
commit015b36e07410f5f8a7eefecc24d57717cb90e01d (patch)
tree3dcd952f85a2b5d306a8359499745ecee32a7c0d /src
parentbeceb3431363d75b07e36d0b0aaa94dcb0519c86 (diff)
downloaddigikam-015b36e07410f5f8a7eefecc24d57717cb90e01d.tar.gz
digikam-015b36e07410f5f8a7eefecc24d57717cb90e01d.zip
Replace TRUE/FALSE with boolean values true/falseHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/libs/themeengine/themeengine.cpp10
-rw-r--r--src/utilities/imageeditor/canvas/iccsettingscontainer.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/libs/themeengine/themeengine.cpp b/src/libs/themeengine/themeengine.cpp
index 3f5ff65c..8d874067 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;