show used OpenSSL library version in debug window

This commit is contained in:
Philip Kaufmann
2012-06-14 19:18:30 +02:00
parent 0ba5bacd0c
commit c7441658da
2 changed files with 53 additions and 23 deletions

View File

@@ -14,6 +14,7 @@
#include <QScrollBar>
#include <boost/tokenizer.hpp>
#include <openssl/crypto.h>
// TODO: make it possible to filter out categories (esp debug messages when implemented)
// TODO: receive errors and debug messages through ClientModel
@@ -119,6 +120,9 @@ RPCConsole::RPCConsole(QWidget *parent) :
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear()));
// set OpenSSL version label
ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION));
startExecutor();
clear();