Hello,
in the previous version of jambi (4.5.0_1) a was using this code to give a
default filename:
String file = QFileDialog.getSaveFileName(null, "guardar archivo",
Gerente.last().getNombreCompleto() + "-"
+
calendar.get(Calendar.DAY_OF_MONTH) + "-"
+ calendar.get(Calendar.MONTH)
+ "-"
+ calendar.get(Calendar.YEAR)
+ ".zip",
new QFileDialog.Filter("Archivos Zip
(*.zip)"));
but now, this code does not work in jambi 4.5.2_1.
Instead of giving a default filename, the line edit appears empty.
Currently, im using this workaround:
File file1 = new File(Gerente.last().getNombreCompleto() + "-" +
calendar.get(Calendar.DAY_OF_MONTH) + "-"+ calendar.get(Calendar.MONTH) + "-"+
calendar.get(Calendar.YEAR) + ".zip");
String file = QFileDialog.getSaveFileName(this, "Guardar
archivo",
file1.getAbsolutePath(),
new QFileDialog.Filter("Archivos Zip
(*.zip)"));
i dont know if this is intentional or a bug.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest