diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-04 13:12:32 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-08-04 13:12:32 +0200 |
commit | a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91 (patch) | |
tree | 81cc123c4afbaf726fbc4a8a6b87d50732432b4b /src/widgets | |
parent | Updated documentation (diff) | |
download | smolbote-a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91.tar.xz |
Profile window fixes
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/mainwindowmenubar.cpp | 3 | ||||
-rw-r--r-- | src/widgets/webviewtabbar.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/widgets/mainwindowmenubar.cpp b/src/widgets/mainwindowmenubar.cpp index 4ad9d67..ba28607 100644 --- a/src/widgets/mainwindowmenubar.cpp +++ b/src/widgets/mainwindowmenubar.cpp @@ -69,9 +69,6 @@ MainWindowMenuBar::MainWindowMenuBar(MainWindow *parent) : QMenu *profileMenu = new QMenu(tr("Profile"), this); addMenu(profileMenu); profileMenu->addAction(tr("Profiles"), this, SLOT(handleLoadProfile())); - profileMenu->addSeparator(); - profileMenu->addAction(tr("View profile"), parent, SLOT(profileAction())); - profileMenu->addAction(tr("Cookies"), parent, SLOT(cookiesAction())); // Page menu QMenu *pageMenu = new QMenu(tr("Page"), this); diff --git a/src/widgets/webviewtabbar.cpp b/src/widgets/webviewtabbar.cpp index bd24304..eb2e463 100644 --- a/src/widgets/webviewtabbar.cpp +++ b/src/widgets/webviewtabbar.cpp @@ -142,7 +142,7 @@ QSize WebViewTabBar::tabSizeHint(int index) const void WebViewTabBar::handleCurrentChanged(int index) { if(index < 0) { - addTab(QUrl::fromUserInput(sSettings->value("general.newtab").toString())); + addTab(profile()->newtab()); return; } emit currentTabChanged(m_views.at(index)); |