lensfun: properly group lenses by maker in the UI

This commit is contained in:
Alberto Griggio
2017-09-09 22:31:59 +02:00
parent 03ec1abca8
commit 0f197bf1a4
3 changed files with 24 additions and 14 deletions

View File

@@ -184,6 +184,16 @@ bool LFLens::ok() const
}
Glib::ustring LFLens::getMake() const
{
if (data_) {
return data_->Maker;
} else {
return "";
}
}
Glib::ustring LFLens::getLens() const
{
if (data_) {