aboutsummaryrefslogtreecommitdiff
path: root/src/forms/profileview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms/profileview.cpp')
-rw-r--r--src/forms/profileview.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/forms/profileview.cpp b/src/forms/profileview.cpp
index 2695311..6977b61 100644
--- a/src/forms/profileview.cpp
+++ b/src/forms/profileview.cpp
@@ -57,10 +57,7 @@ ProfileView::~ProfileView()
void ProfileView::setProfile(WebEngineProfile *profile)
{
- if(!profile) {
- return;
- }
- //Q_ASSERT(profile);
+ Q_CHECK_PTR(profile);
m_profile = profile;
setWindowTitle(m_profile->name());