diff options
Diffstat (limited to 'languages/ruby/rubysupport_part.cpp')
-rw-r--r-- | languages/ruby/rubysupport_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp index 79cbac07..2f920df6 100644 --- a/languages/ruby/rubysupport_part.cpp +++ b/languages/ruby/rubysupport_part.cpp @@ -518,7 +518,7 @@ void RubySupportPart::parse(const TQString &fileName) void RubySupportPart::slotRun () { // if we can't save all parts, then the user canceled - if ( partController()->saveAllFiles() == false ) + if ( !partController()->saveAllFiles() ) return; TQFileInfo program(mainProgram()); if (mainProgram().endsWith("script/server")) { @@ -875,7 +875,7 @@ void RubySupportPart::slotSwitchToView() void RubySupportPart::slotRunTestUnderCursor() { // if we can't save all parts, then the user canceled - if ( partController()->saveAllFiles() == false ) + if ( !partController()->saveAllFiles() ) return; KParts::ReadOnlyPart *ro_part = dynamic_cast<KParts::ReadOnlyPart*>(partController()->activePart()); |