[Kde-print-devel] [Bug 114384] [PATCH] Add multiple files and directories

Cristian Tibirna tibirna at kde.org
Thu Apr 6 06:21:51 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=114384         
tibirna kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From tibirna kde org  2006-04-06 06:21 -------
SVN commit 526968 by tibirna:

Allow adding multiple files to the to-be-printed list
Thanks to Philip Rodrigues for the patch. I tested it.
BUG:114384


 M  +3 -3      kfilelist.cpp  


--- branches/KDE/3.5/kdelibs/kdeprint/kfilelist.cpp #526967:526968
 @ -243,9 +243,9  @
 
 void KFileList::slotAddFile()
 {
-	KURL	fname = KFileDialog::getOpenURL(QString::null, QString::null, this);
-	if (!fname.isEmpty())
-		addFiles(KURL::List(fname));
+	KURL::List fnames = KFileDialog::getOpenURLs(QString::null, QString::null, this);
+	if (!fnames.empty())
+		addFiles(fnames);
 }
 
 void KFileList::slotRemoveFile()


More information about the Kde-print-devel mailing list