summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 2e9b590b8..4204ec9cd 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -258,17 +258,6 @@ public:
}
/**
- * Updates the capacity by adding/removing a number of (visible) elements.
- * @param difference the difference in capacity
- * @note updates the position if needed
- */
- void UpdateCapacity(int difference)
- {
- if (difference == 0) return;
- this->SetCapacity(this->cap + difference);
- }
-
- /**
* Sets the position of the first visible element
* @param position the position of the element
*/