Use FileDialog in Display also.
This commit is contained in:
parent
67bf4215bf
commit
84d0c3b3b5
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "TitleBar.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
#include "FileDialog.h"
|
||||
|
||||
SkinDisplay::SkinDisplay (QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
|
@ -60,10 +60,10 @@ SkinDisplay::paintEvent (QPaintEvent *event)
|
|||
void
|
||||
SkinDisplay::fileOpen (void)
|
||||
{
|
||||
FileDialog fd (this, "main_addfiles");
|
||||
QStringList files;
|
||||
|
||||
files = QFileDialog::getOpenFileNames (this, "Select files to play",
|
||||
QDir::homePath());
|
||||
files = fd.getFiles ();
|
||||
|
||||
XMMSHandler &xmmsh = XMMSHandler::getInstance();
|
||||
if (files.count() > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue