Changeset View
Changeset View
Standalone View
Standalone View
src/dolphintabwidget.cpp
Context not available. | |||||
22 | #include "dolphintabbar.h" | 22 | #include "dolphintabbar.h" | ||
---|---|---|---|---|---|
23 | #include "dolphintabpage.h" | 23 | #include "dolphintabpage.h" | ||
24 | #include "dolphinviewcontainer.h" | 24 | #include "dolphinviewcontainer.h" | ||
25 | #include "dolphin_generalsettings.h" | ||||
25 | 26 | | |||
26 | #include <QApplication> | 27 | #include <QApplication> | ||
27 | #include <QDropEvent> | 28 | #include <QDropEvent> | ||
Context not available. | |||||
154 | // in background, assure that the previous focused widget gets the focus back. | 155 | // in background, assure that the previous focused widget gets the focus back. | ||
155 | focusWidget->setFocus(); | 156 | focusWidget->setFocus(); | ||
156 | } | 157 | } | ||
158 | | ||||
159 | // New tab is always active | ||||
160 | if (GeneralSettings::newTabActive()) { | ||||
161 | setCurrentIndex(count() - 1); | ||||
162 | } | ||||
157 | } | 163 | } | ||
158 | 164 | | |||
159 | void DolphinTabWidget::openDirectories(const QList<QUrl>& dirs, bool splitView) | 165 | void DolphinTabWidget::openDirectories(const QList<QUrl>& dirs, bool splitView) | ||
Context not available. |