Ability to sort cur.playlist by long tap on it
[someplayer] / src / aboutform.cpp
1 #include "aboutform.h"
2 #include "ui_aboutform.h"
3 #include "config.h"
4
5 using namespace SomePlayer::Storage;
6
7 AboutForm::AboutForm(QWidget *parent) :
8                 QWidget(parent),
9                 ui(new Ui::AboutForm)
10 {
11         ui->setupUi(this);
12         updateIcons();
13         updateTranslations();
14         setAttribute(Qt::WA_Maemo5StackedWindow);
15         setWindowFlags(Qt::Window | windowFlags());
16 }
17
18 AboutForm::~AboutForm()
19 {
20         delete ui;
21 }
22
23 void AboutForm::updateIcons() {
24         Config config;
25         _icons_theme = config.getValue("ui/iconstheme").toString();
26         ui->logoLabel->setPixmap(QPixmap(":/icons/"+_icons_theme+"/player.png"));
27 }
28
29 void AboutForm::updateTranslations() {
30         ui->retranslateUi(this);
31 }