aboutsummaryrefslogtreecommitdiff
path: root/src/webengine
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-12 18:19:40 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-12 21:23:30 +0200
commit43a5be4dfa77061ffb4488f81aa965940c1d6c2d (patch)
tree0a4186ee2949af781563deb95e1ca182d86ce160 /src/webengine
parentUnlink plugins from lib/ libraries (diff)
downloadsmolbote-43a5be4dfa77061ffb4488f81aa965940c1d6c2d.tar.xz
Update readme
Diffstat (limited to 'src/webengine')
-rw-r--r--src/webengine/webpage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/webpage.cpp b/src/webengine/webpage.cpp
index b2fe790..1c5e659 100644
--- a/src/webengine/webpage.cpp
+++ b/src/webengine/webpage.cpp
@@ -24,6 +24,8 @@ QString tr_terminationStatus(QWebEnginePage::RenderProcessTerminationStatus stat
case QWebEnginePage::KilledTerminationStatus:
return QObject::tr("The render process was killed, for example by SIGKILL or task manager kill.");
}
+
+ return QObject::tr("The render process was terminated with an unknown status.");
}
QString feature_toString(QWebEnginePage::Feature feature)
@@ -46,6 +48,8 @@ QString feature_toString(QWebEnginePage::Feature feature)
case QWebEnginePage::DesktopAudioVideoCapture:
return QObject::tr("Desktop Audio and Video Capture");
}
+
+ return QObject::tr("Unknown feature");
}
WebPage::WebPage(QWebEngineProfile *profile, QObject *parent)