From a73e81bf6af745623e7e92ba012522e34b2a312a Mon Sep 17 00:00:00 2001 From: Anthony Fieroni Date: Sat, 12 Dec 2020 15:17:23 +0200 Subject: Open new tab placement option Signed-off-by: Anthony Fieroni --- src/dolphintabwidget.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'src/dolphintabwidget.h') diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 4a1b9d99c..fbfe28302 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -21,19 +21,6 @@ class DolphinTabWidget : public QTabWidget Q_OBJECT public: - /** - * @brief Controls where tabs are placed - */ - enum TabPlacement { - /** - * The new tab is placed after the current tab - */ - AfterCurrentTab, - /** - * The new tab is placed after the last tab - */ - AfterLastTab - }; /** * @param navigatorsWidget The navigatorsWidget which is always going to be connected @@ -118,11 +105,9 @@ public slots: /** * Opens a new tab in the background showing the URL \a primaryUrl and the - * optional URL \a secondaryUrl. \a tabPlacement controls where the new tab - * is placed. + * optional URL \a secondaryUrl. */ - void openNewTab(const QUrl &primaryUrl, const QUrl &secondaryUrl = QUrl(), - DolphinTabWidget::TabPlacement tabPlacement = AfterLastTab); + void openNewTab(const QUrl &primaryUrl, const QUrl &secondaryUrl = QUrl()); /** * Opens each directory in \p dirs in a separate tab. If \a splitView is set, -- cgit v1.3