aboutsummaryrefslogtreecommitdiff
path: root/src/lib/navigation/urllineedit.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-14 18:40:27 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-14 18:40:27 +0100
commit5fe7f60a152ace8fb6da378c6fcb83ba0c2c9f59 (patch)
treefe2a313250b9fdff8c396226734016fabb4b2717 /src/lib/navigation/urllineedit.cpp
parentUpdated documentation (diff)
downloadsmolbote-5fe7f60a152ace8fb6da378c6fcb83ba0c2c9f59.tar.xz
Using Q_CHECK_PTR instead of Q_ASSERT on pointers
Diffstat (limited to 'src/lib/navigation/urllineedit.cpp')
-rw-r--r--src/lib/navigation/urllineedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/navigation/urllineedit.cpp b/src/lib/navigation/urllineedit.cpp
index 4244866..c587f43 100644
--- a/src/lib/navigation/urllineedit.cpp
+++ b/src/lib/navigation/urllineedit.cpp
@@ -89,13 +89,13 @@ UrlLineEdit::UrlLineEdit(QWidget *parent) :
QAction *UrlLineEdit::sslAction()
{
- Q_ASSERT(m_sslAction != nullptr);
+ Q_CHECK_PTR(m_sslAction);
return m_sslAction;
}
QAction *UrlLineEdit::pageAction()
{
- Q_ASSERT(m_pageAction != nullptr);
+ Q_CHECK_PTR(m_pageAction);
return m_pageAction;
}