Document potentially obscure code.
This commit is contained in:
parent
2d2d5ca30c
commit
fc2d15da16
@ -31,6 +31,8 @@ class ViewStep;
|
||||
class ViewStepItem : public ProgressTreeItem
|
||||
{
|
||||
public:
|
||||
// We take a std::function< QString() > instead of a QString because the view asks for
|
||||
// new strings on LanguageChange, and tr needs to be called again in that case.
|
||||
explicit ViewStepItem( std::function< QString() > prettyName,
|
||||
std::function< const Calamares::ViewStep*() > accessor,
|
||||
ProgressTreeItem* parent = nullptr );
|
||||
|
Loading…
Reference in New Issue
Block a user