diff options
Diffstat (limited to 'src/filelist.cc')
-rw-r--r-- | src/filelist.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/filelist.cc b/src/filelist.cc index 6cad785..0f9b1cf 100644 --- a/src/filelist.cc +++ b/src/filelist.cc @@ -47,8 +47,9 @@ FileList::FileList() void FileList::addFiles() { - QStringList files = QFileDialog::getOpenFileNames(this, tr("Open file"), - path, tr("Audio Files (*.wav)")); + QStringList files = + QFileDialog::getOpenFileNames(this, tr("Open file"), + path, tr("Audio Files (*.wav)")); QStringList::Iterator i = files.begin(); while(i != files.end()) { @@ -92,16 +93,16 @@ void FileList::createMenus() { menu = new QMenu(); - setMasterAction = new QAction("Set as Master (dbl-click)", this); + setMasterAction = new QAction(tr("Set as Master (dbl-click)"), this); connect(setMasterAction, SIGNAL(triggered()), this, SLOT(setMaster())); - editAction = new QAction("Edit name", this); + editAction = new QAction(tr("Edit name"), this); connect(editAction, SIGNAL(triggered()), this, SLOT(editName())); - removeAction = new QAction("Remove", this); + removeAction = new QAction(tr("Remove"), this); connect(removeAction, SIGNAL(triggered()), this, SLOT(removeFile())); - removeAllAction = new QAction("Remove all", this); + removeAllAction = new QAction(tr("Remove all"), this); connect(removeAllAction, SIGNAL(triggered()), this, SLOT(removeAllFiles())); menu->addAction(setMasterAction); |