From 01a9206030060a8ab92f1125072d127b7668eff5 Mon Sep 17 00:00:00 2001 From: SVN User Date: Mon, 14 Jul 2008 23:24:43 +0000 Subject: [PATCH] about dialog --- build_num | 2 +- src/gui/FWBAboutDialog.h | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build_num b/build_num index 5feb833f7..5bf3d2421 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 357 +#define BUILD_NUM 360 diff --git a/src/gui/FWBAboutDialog.h b/src/gui/FWBAboutDialog.h index 811c7a4d5..4cdb48aba 100644 --- a/src/gui/FWBAboutDialog.h +++ b/src/gui/FWBAboutDialog.h @@ -21,16 +21,18 @@ public: m_aboutDialog->setupUi(this); //it was the "init" method of AboutDialog_q: - m_aboutDialog->titleLbl->setText( QString("Firewall Builder v%1").arg(VERSION) ); - m_aboutDialog->revLbl->setText( tr("Revision: %1 ( Build: %2 )").arg(RELEASE_NUM).arg(BUILD_NUM) ); + m_aboutDialog->titleLbl->setText( + QString("Firewall Builder v%1").arg(VERSION) ); + m_aboutDialog->revLbl->setText( + tr("Revision: %1 ( Build: %2 )").arg(RELEASE_NUM).arg(BUILD_NUM) ); - m_aboutDialog->apiLbl->setText( tr("Using Firewall Builder API %1").arg(libfwbuilder::Constants::getLibraryVersion().c_str() ) ); + m_aboutDialog->apiLbl->setText( + tr("Using Firewall Builder API %1").arg( + libfwbuilder::Constants::getLibraryVersion().c_str() ) ); #ifdef ELC - // TODO(vadim): add UI element to print 'Registered' or 'Unregistered' - // to the About dialog. - //if (registered) reg->setText(tr("Registered")); - //else reg->setText(tr("Unregistered")); + if (registered) m_aboutDialog->reg->setText(tr("Registered")); + else m_aboutDialog->reg->setText(tr("Unregistered")); #endif setWindowTitle(QString("Firewall Builder: About..."));