saving objects in png instead of bmp

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@287 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2014-05-25 22:55:17 +00:00
parent e056dd8e14
commit b5f0162cff

View File

@ -330,7 +330,7 @@ void MainWindow::saveObjects(const QString & dirPath)
{ {
for(int i=0; i<objects_.size(); ++i) for(int i=0; i<objects_.size(); ++i)
{ {
objects_.at(i)->pixmap().save(QString("%1/%2.bmp").arg(dirPath).arg(objects_.at(i)->id())); objects_.at(i)->pixmap().save(QString("%1/%2.png").arg(dirPath).arg(objects_.at(i)->id()));
} }
objectsModified_ = false; objectsModified_ = false;
} }