summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-07-06 08:55:00 +0200
committerMontel Laurent <[email protected]>2016-07-06 08:55:00 +0200
commitd58e1921b48a2231d3fa0f9cb92926f084c50cad (patch)
treebb316e999d13fefa880acfe022d4ee16be183e74
parent8ca2cfd9fbf3531ae334d21a465e1bccdd2d25c4 (diff)
not necessary to use a virtual method
-rw-r--r--kmail/src/editor/composer.h4
-rw-r--r--kmail/src/editor/kmcomposerwin.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/kmail/src/editor/composer.h b/kmail/src/editor/composer.h
index b43d855..38182c6 100644
--- a/kmail/src/editor/composer.h
+++ b/kmail/src/editor/composer.h
@@ -118,10 +118,6 @@ public: // callback
public Q_SLOTS: // kmkernel, callback
virtual void slotSendNow() = 0;
- /**
- * Switch wordWrap on/off
- */
- virtual void slotWordWrapToggled(bool) = 0;
virtual void setModified(bool modified) = 0;
public Q_SLOTS: // kmkernel
virtual void autoSaveMessage(bool force = false) = 0;
diff --git a/kmail/src/editor/kmcomposerwin.h b/kmail/src/editor/kmcomposerwin.h
index fcefcb2..68b269e 100644
--- a/kmail/src/editor/kmcomposerwin.h
+++ b/kmail/src/editor/kmcomposerwin.h
@@ -237,7 +237,7 @@ public Q_SLOTS: // kmkernel, callback
/**
* Switch wordWrap on/off
*/
- void slotWordWrapToggled(bool) Q_DECL_OVERRIDE;
+ void slotWordWrapToggled(bool);
void slotToggleMarkup();
void slotTextModeChanged(MessageComposer::RichTextComposerNg::Mode mode);