aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index bda8bdb..856298d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -109,7 +109,7 @@ MainWindow::MainWindow(QUrl defaultUrl, QWidget *parent) :
if(!defaultUrl.isEmpty()) {
newTab(defaultUrl);
} else {
- newTab(sSettings->value("general.homepage").toUrl());
+ newTab(tabBar->profile()->homepage());
}
resize(sSettings->value("window.width").toInt(), sSettings->value("window.height").toInt());
@@ -155,7 +155,7 @@ void MainWindow::newTab(const QUrl &url)
if(!url.isEmpty()) {
tabBar->addTab(url);
} else {
- tabBar->addTab(sSettings->value("general.newtab").toUrl());
+ tabBar->addTab(tabBar->profile()->newtab());
}
}
@@ -241,13 +241,3 @@ void MainWindow::handleTitleUpdated(const QString &title)
{
setWindowTitle(sSettings->value("window.title").toString().replace("title", title).replace("profile", tabBar->profile()->name()));
}
-
-void MainWindow::profileAction()
-{
- tabBar->profile()->dialog()->showProfile();
-}
-
-void MainWindow::cookiesAction()
-{
- tabBar->profile()->dialog()->showCookies();
-}