|
From: Lasse Kärkkäi. <tr...@us...> - 2011-01-31 15:08:02
|
Module: editor
Branch: master
Commit: 3453a023e5510c0b02000fa92b55dd443cd421a7
Author: Lasse Karkkainen <tro...@tr...>
Date: Mon Jan 31 16:07:13 2011 +0100
Fix function return type
---
notelabel.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/notelabel.hh b/notelabel.hh
index 62aed85..ff68456 100644
--- a/notelabel.hh
+++ b/notelabel.hh
@@ -31,7 +31,7 @@ public:
bool isFloating() const { return m_floating; }
void setFloating(bool state) { m_floating = state; createPixmap(size()); }
bool isLineBreak() const { return m_note.lineBreak; }
- bool setLineBreak(bool state) { m_note.lineBreak = state; createPixmap(size()); }
+ void setLineBreak(bool state) { m_note.lineBreak = state; createPixmap(size()); }
void setType(int newtype) { m_note.type = Note::types[newtype]; createPixmap(size()); }
void startResizing(int dir);
|