Fixes #1
This commit is contained in:
parent
899c0a6543
commit
e8448b97bd
@ -48,8 +48,9 @@ void Picture::on_erase_clicked(){
|
|||||||
a[tmp2.size()]=0;
|
a[tmp2.size()]=0;
|
||||||
memcpy(a,tmp2.c_str(),tmp2.size());
|
memcpy(a,tmp2.c_str(),tmp2.size());
|
||||||
//exec(a);
|
//exec(a);
|
||||||
ui->log->append(str);
|
//ui->log->append(str);
|
||||||
Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(str.toStdString());
|
QString fullPath=directory.absolutePath()+"/"+str;
|
||||||
|
Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(fullPath.toStdString());
|
||||||
assert (image.get() != 0);
|
assert (image.get() != 0);
|
||||||
image->readMetadata();
|
image->readMetadata();
|
||||||
Exiv2::ExifData &exifData = image->exifData();
|
Exiv2::ExifData &exifData = image->exifData();
|
||||||
|
Loading…
Reference in New Issue
Block a user