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)