From 549741018ef5a18d9ad7a51092438d764149b758 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 31 Mar 2017 22:02:59 +0200 Subject: Added cookie widget --- src/mainwindow.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5620bb3..bebab63 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -76,7 +76,7 @@ MainWindow::MainWindow(QUrl defaultUrl, QWidget *parent) : profileMenu->addAction(tr("View profile"), this, SLOT(execProfileEditor())); profileMenu->addAction(tr("Load profile"), this, SLOT(loadProfileGUI())); //profileMenu->addAction(tr("Settings")); - //profileMenu->addAction(tr("Cookies")); + profileMenu->addAction(tr("Cookies"), this, SLOT(cookiesAction())); // Add the toolbars // tabToolBar: main menu and tab list @@ -261,3 +261,8 @@ void MainWindow::execProfileEditor() ProfileDialog *dialog = new ProfileDialog(m_profile, this); dialog->exec(); } + +void MainWindow::cookiesAction() +{ + m_profile->cookieUI()->show(); +} -- cgit v1.2.1