X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fplaylistdialog.cpp;h=a21d89802a7f068ab5e9474d5f438dbe738c61b4;hb=b5a3d3da30e21951de62bea941882ea27f041c8a;hp=a4fd90873bf2b3892db39fc987d7c497d65fc9e6;hpb=0b048cf534be4899cb6a993cf67cb79662ac4af5;p=someplayer diff --git a/src/playlistdialog.cpp b/src/playlistdialog.cpp index a4fd908..a21d898 100644 --- a/src/playlistdialog.cpp +++ b/src/playlistdialog.cpp @@ -1,3 +1,23 @@ +/* + * SomePlayer - An alternate music player for Maemo 5 + * Copyright (C) 2010 Nikolay (somebody) Tischenko + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + + #include "playlistdialog.h" #include "ui_playlistdialog.h" #include @@ -12,6 +32,7 @@ PlaylistDialog::PlaylistDialog(QList playlistNames, QWidget *parent) : model->appendRow(new QStandardItem(str)); } ui->listView->setModel(model); + setWindowTitle("Playlists"); } PlaylistDialog::~PlaylistDialog() @@ -27,3 +48,7 @@ QList PlaylistDialog::selected() { } return _selected; } + +void PlaylistDialog::updateTranslations() { + ui->retranslateUi(this); +}