lensfun: properly group lenses by maker in the UI
This commit is contained in:
@@ -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_) {
|
||||
|
||||
@@ -73,6 +73,7 @@ class LFLens {
|
||||
public:
|
||||
LFLens();
|
||||
bool ok() const;
|
||||
Glib::ustring getMake() const;
|
||||
Glib::ustring getLens() const;
|
||||
Glib::ustring getDisplayString() const { return getLens(); }
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user