Fwd: branches/stable/extragear/multimedia/k3b/src/misc
Ismail Donmez
ismail at uludag.org.tr
Mon Dec 12 09:51:53 GMT 2005
I think we should fix KFileDialog instead and teach it about media:/ . What do
you guys think? This problem alsao effects JuK.
Regards,
ismail
--------------- İletilen mesaj (başlangıç)
Konu: branches/stable/extragear/multimedia/k3b/src/misc
Gönderen: Sebastian Trueg <sebastian at trueg.de>
Tarih: Mon, 12 Dec 2005 11:30:27 +0200
Newsgroup: gmane.comp.kde.cvs
SVN commit 487843 by trueg:
also allow the user to choose media urls in the dialog, not only dropping
them on it. The problem now is that there will be no proper error message
in case one chooses another non-local url...
M +1 -0 k3bcdimagewritingdialog.cpp
M +1 -0 k3bisoimagewritingdialog.cpp
---
branches/stable/extragear/multimedia/k3b/src/misc/k3bcdimagewritingdialog.cpp
#487842:487843
@@ -171,6 +171,7 @@
// -----------------------------------------------------------------------
QGroupBox* groupImageUrl = new QGroupBox( 1, Qt::Horizontal, i18n("Image to
Burn"), frame );
m_editImagePath = new KURLRequester( groupImageUrl );
+ m_editImagePath->setMode( KFile::File|KFile::ExistingOnly );
m_editImagePath->setCaption( i18n("Choose Image File") );
m_editImagePath->setFilter( i18n("*.iso *.toc *.ISO *.TOC *.cue *.CUE|Image
Files")
+ "\n"
---
branches/stable/extragear/multimedia/k3b/src/misc/k3bisoimagewritingdialog.cpp
#487842:487843
@@ -145,6 +145,7 @@
// -----------------------------------------------------------------------
QGroupBox* groupImageUrl = new QGroupBox( 1, Qt::Horizontal, i18n("Image to
Burn"), frame );
m_editImagePath = new KURLRequester( groupImageUrl );
+ m_editImagePath->setMode( KFile::File|KFile::ExistingOnly );
m_editImagePath->setCaption( i18n("Choose Image File") );
m_editImagePath->setFilter( i18n("*.iso *.ISO|ISO9660 Image Files") + "\n"
+ i18n("*|All Files") );
--------------- İletilen mesaj (bitiş)
More information about the kde-core-devel
mailing list