LCOV - code coverage report
Current view: top level - src/qt - transactiondescdialog.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 0 9 0.0 %
Date: 2015-10-12 22:39:14 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Copyright (c) 2011-2013 The Bitcoin Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include "transactiondescdialog.h"
       6             : #include "ui_transactiondescdialog.h"
       7             : 
       8             : #include "transactiontablemodel.h"
       9             : 
      10             : #include <QModelIndex>
      11             : 
      12           0 : TransactionDescDialog::TransactionDescDialog(const QModelIndex &idx, QWidget *parent) :
      13             :     QDialog(parent),
      14           0 :     ui(new Ui::TransactionDescDialog)
      15             : {
      16           0 :     ui->setupUi(this);
      17           0 :     QString desc = idx.data(TransactionTableModel::LongDescriptionRole).toString();
      18           0 :     ui->detailText->setHtml(desc);
      19           0 : }
      20             : 
      21           0 : TransactionDescDialog::~TransactionDescDialog()
      22             : {
      23           0 :     delete ui;
      24           0 : }

Generated by: LCOV version 1.11