aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 6 insertions, 1 deletions
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();
+}