diff options
| author | Felix Ernst <[email protected]> | 2020-11-19 21:22:27 +0000 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-11-19 21:22:27 +0000 |
| commit | 50ca5af7e0ec460f9f004a3660efa10bb1dd8cb1 (patch) | |
| tree | f87dde47243cd134a1d106f06e7a2b650cb2edc9 /src/main.cpp | |
| parent | f2d2f325b628f8b831cce076c1a5f5dc43ac21ee (diff) | |
Allow having the UrlNavigators below the tab bar
This commit restores the possibility to have the UrlNavigators below
the tab bar. This will happen automatically whenever the UrlNavigator
is removed from the toolbar.
It is also now again possible to have the toolbar on the side. This
option is disabled while the toolbar contains the UrlNavigators.
This commit makes no changes to the new default which is having the
UrlNavigators in the toolbar but makes sure that upgrading users won't
be affected.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp index a4b1b1963..ef2905d77 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,6 @@ #include <KCrash> #include <KDBusService> #include <KLocalizedString> -#include <KToolBar> #include <Kdelibs4ConfigMigrator> #include <KConfigGui> @@ -214,12 +213,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) } } } - Qt::ToolBarArea area = mainWindow->toolBarArea(mainWindow->toolBar()); - if (area != Qt::TopToolBarArea && area != Qt::BottomToolBarArea) { - // Migrate users with disabled tool bar positions. - // Remove this a few years from now (2020). - mainWindow->addToolBar(Qt::TopToolBarArea, mainWindow->toolBar()); - } #ifdef HAVE_KUSERFEEDBACK auto feedbackProvider = DolphinFeedbackProvider::instance(); |
