aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-04-01 13:19:55 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-04-01 13:19:55 +0200
commit67d1767533a8bfa87cc0744db469b890177307b7 (patch)
treeac02a535ff794f8141e4691cddc227c3a2757dd7 /src/mainwindow.cpp
parentAdded cookie widget (diff)
downloadsmolbote-67d1767533a8bfa87cc0744db469b890177307b7.tar.xz
Moved CookiesForm into the ProfileDialog
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index bebab63..465d02a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -258,11 +258,10 @@ void MainWindow::handleTitleUpdated(const QString &title)
void MainWindow::execProfileEditor()
{
- ProfileDialog *dialog = new ProfileDialog(m_profile, this);
- dialog->exec();
+ m_profile->dialog()->showProfile();
}
void MainWindow::cookiesAction()
{
- m_profile->cookieUI()->show();
+ m_profile->dialog()->showCookies();
}