diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-29 14:56:39 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-09-29 14:56:39 +0200 |
commit | 9abf7a9690163737d3e70b3b52d814135858d0d5 (patch) | |
tree | 037b1d3a12115221182cb283c14736229c52a8d8 /src/mainwindow | |
parent | Update repository path in license headers (diff) | |
download | smolbote-9abf7a9690163737d3e70b3b52d814135858d0d5.tar.xz |
ProfileManager: move initial profile loading to ProfileManager
Diffstat (limited to 'src/mainwindow')
-rw-r--r-- | src/mainwindow/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index e1b8fd8..8a33e23 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -390,6 +390,7 @@ void MainWindow::updatePageLoadProfileMenu() if(currentView == nullptr) return; + auto *profileManager = dynamic_cast<Browser *>(qApp)->getProfileManager(); pageLoadProfileMenu->addActions(profileManager->createProfileMenu([this](WebProfile *profile) { this->currentView->setProfile(profile); }, |