From 0d11c79418a1b222578bdf39f5a417f495449879 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 19 Jun 2014 08:54:41 +0200 Subject: [PATCH] Editor: Fix "Clean Whitespace" action. Task-number: QTCREATORBUG-12451 Change-Id: I2e9c97d0aa9081268377b002698f7659fc39cdce Reviewed-by: Christian Stenger --- src/plugins/texteditor/texteditoractionhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index edfe3b5a425..0c823fe1618 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -234,7 +234,7 @@ void TextEditorActionHandler::createActions() G_EDIT_FORMAT, advancedEditMenu); m_visualizeWhitespaceAction->setCheckable(true); m_cleanWhitespaceAction = registerAction(CLEAN_WHITESPACE, - SLOT(setTextWrapping(bool)), true, tr("Clean Whitespace"), + SLOT(cleanWhitespace()), true, tr("Clean Whitespace"), QKeySequence(), G_EDIT_FORMAT, advancedEditMenu); m_textWrappingAction = registerAction(TEXT_WRAPPING,