aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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();
}