[Digikam-devel] extragear/graphics/digikam
Gilles Caulier
caulier.gilles at free.fr
Tue Jan 10 11:46:16 GMT 2006
SVN commit 496323 by cgilles:
digikam from trunk : IE/ Showfoto saveAs() method : we will use current image filename to set default filename in saveAs dialog.
CCMAIL: digikam-devel at kde.org
M +1 -0 showfoto/showfoto.cpp
M +1 -0 utilities/imageeditor/editor/imagewindow.cpp
--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #496322:496323
@@ -728,6 +728,7 @@
false);
saveDialog.setOperationMode( KFileDialog::Saving );
saveDialog.setMode( KFile::File );
+ saveDialog.setSelection(url.fileName());
saveDialog.setCaption( i18n("New Image File Name") );
saveDialog.setFilter(mimetypes);
--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp #496322:496323
@@ -1061,6 +1061,7 @@
imageFileSaveDialog.setOperationMode( KFileDialog::Saving );
imageFileSaveDialog.setMode( KFile::File );
+ imageFileSaveDialog.setSelection(m_urlCurrent.fileName());
imageFileSaveDialog.setCaption( i18n("New Image File Name") );
imageFileSaveDialog.setFilter(mimetypes);
More information about the Digikam-devel
mailing list