diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-03-31 22:02:59 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-03-31 22:02:59 +0200 |
commit | 549741018ef5a18d9ad7a51092438d764149b758 (patch) | |
tree | 0fbe74b8569004c0a4ddb24d25cedaabeab36f82 /src/mainwindow.cpp | |
parent | Rewrote the pre-commit hook into Ruby (diff) | |
download | smolbote-549741018ef5a18d9ad7a51092438d764149b758.tar.xz |
Added cookie widget
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 7 |
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(); +} |