diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 21:28:36 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 21:28:36 -0500 |
| commit | 695d0611219aece597f79ff4e866fa4a9c6a4949 (patch) | |
| tree | b04c16c7ef1b10c60b29ce8f4c784113a4811f10 | |
| parent | 1ec0503539b80292612cc305127472385927ad15 (diff) | |
Use mime types all the way for image searching
| -rw-r--r-- | sigmodr/widgets/SpriteUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/widgets/SpriteUI.cpp b/sigmodr/widgets/SpriteUI.cpp index 7def532f..3094d5c4 100644 --- a/sigmodr/widgets/SpriteUI.cpp +++ b/sigmodr/widgets/SpriteUI.cpp @@ -97,7 +97,7 @@ void SpriteUI::Private::nameChanged(const QString& name) void SpriteUI::Private::browse() { - KFileDialog* dialog = new KFileDialog(KUrl("kfiledialog:///image"), "image/png image/jpeg image/tiff image/bmp image/gif", NULL); + KFileDialog* dialog = new KFileDialog(KUrl("kfiledialog:///image"), "image/*|Image Files", NULL); dialog->setCaption("Use Image File"); dialog->setOperationMode(KFileDialog::Opening); dialog->setPreviewWidget(new KImageFilePreview); |
