Simplify ViewerWidget::currentInfo().

Authored by johanneszarl on Apr 1 2020, 11:04 PM.

Description

Simplify ViewerWidget::currentInfo().

The function is ancient and predates DB::FileName::info(), which is IMO
a nicer idiom for getting the ImageInfo for the file.
As a side not, I've removed the accompanying comment that doesn't really
apply anymore...

Details

Committed
johanneszarlApr 1 2020, 11:04 PM
Parents
R463:ade8dc6d6f7f: ViewerWidget: remove some unnecessary round-trips to the database.
Branches
Unknown
Tags
Unknown