|
From: Tapio V. <aa...@us...> - 2011-02-03 11:42:05
|
Module: editor
Branch: master
Commit: 416937f73879cbafccaa4490f80d637344e72887
Author: Tapio Vierros <tap...@gm...>
Date: Thu Feb 3 13:41:08 2011 +0200
Remove unused & deprecated "RESIZE" operation type.
---
notelabelmanager.cc | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/notelabelmanager.cc b/notelabelmanager.cc
index 5943f68..4b326c8 100644
--- a/notelabelmanager.cc
+++ b/notelabelmanager.cc
@@ -200,9 +200,6 @@ void NoteLabelManager::doOperation(const Operation& op, Operation::OperationFlag
if (action == "DEL") {
n->close();
m_notes.removeAt(op.i(1));
- } else if (action == "RESIZE") {
- n->resize(op.i(2), op.i(3));
- n->setFloating(false);
} else if (action == "MOVE") {
n->setGeometry(s2px(op.i(2)), n2px(op.i(4)) - m_noteHalfHeight, s2px(op.i(3) - op.i(2)), 2 * m_noteHalfHeight);
n->setFloating(false);
|