From d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Apr 2025 12:59:07 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18) --- kdevdesigner/designer/kdevdesigner_part.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdevdesigner/designer/kdevdesigner_part.cpp') diff --git a/kdevdesigner/designer/kdevdesigner_part.cpp b/kdevdesigner/designer/kdevdesigner_part.cpp index 1e4a208c..b2c10f03 100644 --- a/kdevdesigner/designer/kdevdesigner_part.cpp +++ b/kdevdesigner/designer/kdevdesigner_part.cpp @@ -203,7 +203,7 @@ bool KDevDesignerPart::openFile() bool KDevDesignerPart::saveFile() { - if (isReadWrite() == false) + if (!isReadWrite()) return false; m_widget->actionFileSaveAll->activate(); return true; -- cgit v1.2.3