Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 200 → Rev 199

/trunk/DBViewer/fileform.cpp
61,7 → 61,6
QFile file;
QDataStream out(&Data,QIODevice::ReadOnly);
QString fileName;
if (Data.isEmpty()) return;
out >> fileName;
fileName = QFileDialog::getSaveFileName(this, tr("Save File"),
fileName,
68,9 → 67,11
tr("All Files (*.*);;Image Files (*.png *.jpg *.bmp);;Text files (*.txt);;XML files (*.xml)"));
 
 
int i;
i++;
if (fileName.isEmpty()) return;
if (Data.isEmpty()) return;
 
 
file.setFileName(fileName);
if (!file.open(QIODevice::WriteOnly)) return;