mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Document potentially obscure code.
This commit is contained in:
parent
2d2d5ca30c
commit
fc2d15da16
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue