~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to src/dialogs/CAboutDialog.cpp

  • Committer: Nathan Osman
  • Date: 2012-06-28 17:23:51 UTC
  • Revision ID: admin@quickmediasolutions.com-20120628172351-wl57u44nbmqfelga
Added some more information to the about dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    : ui(new Ui::CAboutDialog)
22
22
{
23
23
    ui->setupUi(this);
 
24
 
 
25
    /* Gather the technical information. */
 
26
    GatherTechInfo();
24
27
}
25
28
 
26
29
CAboutDialog::~CAboutDialog()
27
30
{
28
31
    delete ui;
29
32
}
 
33
 
 
34
void CAboutDialog::GatherTechInfo()
 
35
{
 
36
    ui->TechData->insertRow(0);
 
37
    ui->TechData->setItem(0, 0, new QTableWidgetItem("Qt version"));
 
38
    ui->TechData->setItem(0, 1, new QTableWidgetItem(qVersion()));
 
39
}