aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-03-21 14:17:18 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-03-21 14:17:18 +0100
commit6c3a4e1bdbedc0d96c3693c9deddc29db3c208b2 (patch)
treeade23f98676da51a815e7f693134f67979167027 /src/mainwindow.cpp
parentDockable DownloadsWidget (diff)
downloadsmolbote-6c3a4e1bdbedc0d96c3693c9deddc29db3c208b2.tar.xz
Profile saving and loading
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
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()