diff options
Diffstat (limited to 'common/browserdbus.cpp')
-rw-r--r-- | common/browserdbus.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/common/browserdbus.cpp b/common/browserdbus.cpp index 7c13574..df81f39 100644 --- a/common/browserdbus.cpp +++ b/common/browserdbus.cpp @@ -776,7 +776,6 @@ void BrowserDbus::closeAuthenticationDialog(conn::brw::DIALOG_RESULT r, const co void BrowserDbus::closeSslErrorDialog(conn::brw::DIALOG_RESULT r, bool b) { qDebug() << __PRETTY_FUNCTION__; - QStringList list; QDBusReply<conn::brw::ERROR_IDS> reply = networkmanager->closeSslErrorDialog(r,b); if(reply.isValid()) { @@ -787,3 +786,17 @@ void BrowserDbus::closeSslErrorDialog(conn::brw::DIALOG_RESULT r, bool b) qDebug() << "ERROR " << error.name() << error.message(); } } + +void BrowserDbus::selectOption(const conn::brw::SelectableOptionList &lst) +{ + qDebug() << __PRETTY_FUNCTION__; + + QDBusReply<conn::brw::ERROR_IDS> reply = userinput->selectOption(lst); + if(reply.isValid()) { + conn::brw::ERROR_IDS ret = reply.value(); + qDebug() << "ERROR_IDS " << ret; + } else { + QDBusError error = reply.error(); + qDebug() << "ERROR " << error.name() << error.message(); + } +} |