Clementine-audio-player-Mac.../src/about.cpp

15 lines
367 B
C++
Raw Normal View History

2010-02-03 21:45:32 +01:00
#include "about.h"
#include "ui_about.h"
#include <QCoreApplication>
About::About(QWidget *parent)
: QDialog(parent)
{
ui_.setupUi(this);
2010-02-23 19:33:09 +01:00
setWindowTitle(tr("About %1").arg(QCoreApplication::applicationName()));
2010-02-03 21:45:32 +01:00
ui_.title->setText(QCoreApplication::applicationName());
2010-02-23 19:33:09 +01:00
ui_.version->setText(tr("Version %1").arg(QCoreApplication::applicationVersion()));
2010-02-03 21:45:32 +01:00
}