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