From 6c3a4e1bdbedc0d96c3693c9deddc29db3c208b2 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 21 Mar 2017 14:17:18 +0100 Subject: Profile saving and loading --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index eaf061e..5620bb3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -96,7 +96,7 @@ MainWindow::MainWindow(QUrl defaultUrl, QWidget *parent) : connect(tabBar, SIGNAL(currentTabChanged(WebView*)), this, SLOT(handleTabChanged(WebView*))); // Load profile - loadProfile(sSettings->value("general.profile").toString()); + loadProfile(sSettings->value("browser.profile.default").toString()); // loading bar ui->statusBar->addPermanentWidget(progressBar); @@ -253,7 +253,7 @@ void MainWindow::handleUrlChanged() void MainWindow::handleTitleUpdated(const QString &title) { - setWindowTitle(sSettings->value("window.title").toString().replace("$title", title).replace("$profile", m_profile->storageName())); + setWindowTitle(sSettings->value("window.title").toString().replace("title", title).replace("profile", m_profile->storageName())); } void MainWindow::execProfileEditor() -- cgit v1.2.1