┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphintabpage.h')
-rw-r--r--src/dolphintabpage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dolphintabpage.h b/src/dolphintabpage.h
index 1abc05670..b6135d360 100644
--- a/src/dolphintabpage.h
+++ b/src/dolphintabpage.h
@@ -155,10 +155,14 @@ public:
Q_SIGNALS:
void activeViewChanged(DolphinViewContainer *viewContainer);
void activeViewUrlChanged(const QUrl &url);
- void splitterMoved(int pos, int index);
private Q_SLOTS:
/**
+ * Saves splitter position to be able to restore it on split mode OFF->ON
+ */
+ void splitterMoved(int pos);
+
+ /**
* Deletes all zombie viewContainers that were used for the animation
* and resets the minimum size of the others to a sane value.
*/
@@ -217,6 +221,7 @@ private:
bool m_active;
/** @see setCustomLabel(). */
QString m_customLabel;
+ int m_splitterLastPosition = 0;
};
class DolphinTabPageSplitterHandle : public QSplitterHandle