From 553e8f2f7bc2727462a08264c9db13ec2cbc62c8 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Sat, 8 Feb 2020 15:47:27 +0100 Subject: [PATCH] Delete useless else block --- src/widgets/helper/ResizingTextEdit.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/widgets/helper/ResizingTextEdit.cpp b/src/widgets/helper/ResizingTextEdit.cpp index d26339130..a26909a64 100644 --- a/src/widgets/helper/ResizingTextEdit.cpp +++ b/src/widgets/helper/ResizingTextEdit.cpp @@ -265,10 +265,7 @@ bool ResizingTextEdit::canInsertFromMimeData(const QMimeData *source) const { return true; } - else - { - return QTextEdit::canInsertFromMimeData(source); - } + return QTextEdit::canInsertFromMimeData(source); } void ResizingTextEdit::insertFromMimeData(const QMimeData *source)