aboutsummaryrefslogtreecommitdiff
path: root/src/forms/profileview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms/profileview.h')
-rw-r--r--src/forms/profileview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/forms/profileview.h b/src/forms/profileview.h
index a2ac98e..54ef019 100644
--- a/src/forms/profileview.h
+++ b/src/forms/profileview.h
@@ -21,7 +21,7 @@
#ifndef PROFILEDIALOG_H
#define PROFILEDIALOG_H
-#include <QWidget>
+#include <QDialog>
namespace Ui {
class ProfileView;
@@ -29,12 +29,12 @@ class ProfileView;
class WebEngineProfile;
class CookiesForm;
-class ProfileView : public QWidget
+class ProfileView : public QDialog
{
Q_OBJECT
public:
- explicit ProfileView(WebEngineProfile *profile, QWidget *parent = 0);
+ explicit ProfileView(WebEngineProfile *profile, QWidget *parent = nullptr);
~ProfileView();
void setProfile(WebEngineProfile *profile);