Put filedialogs in the correct parent.

This commit is contained in:
Tobias Rundstrom 2006-03-12 01:35:34 -04:00
parent 77f9088231
commit 403b9257cc
3 changed files with 2 additions and 8 deletions

View file

@ -61,7 +61,7 @@ SkinDisplay::fileOpen (void)
XMMSHandler *xmmsh = XMMSHandler::getInstance();
QStringList files;
files = QFileDialog::getOpenFileNames (NULL, "Select files to play",
files = QFileDialog::getOpenFileNames (this, "Select files to play",
QDir::homePath(),
"Music (*.mp3 *.ogg *.flac *.wav *.mpc *.mp4)");

View file

@ -343,7 +343,7 @@ PlaylistWidget::menuAddFile ()
XMMSHandler *xmmsh = XMMSHandler::getInstance();
QStringList files;
files = QFileDialog::getOpenFileNames (NULL, "Select files to play",
files = QFileDialog::getOpenFileNames (this, "Select files to play",
QDir::homePath(),
"Music (*.mp3 *.ogg *.flac *.wav *.mpc *.mp4)");

6
TODO
View file

@ -4,14 +4,8 @@ Todo:
* ServerConfig
* ApplicationConfig
* Balance
* VolumeBar
* Playlist
* PlaylistButton
* CloseButton
* ShadeButton
* Add files / folders
* Jump entry to dialog
* move viewport when walking outside it with keyboard
* drag and drop outside viewport
* jump to entry when it's played.
* accept drops from other applications