Skip to content

Commit

Permalink
[unpackfsc] Report progress through status message
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandegroot committed Nov 15, 2021
1 parent caf231b commit 8f0403a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/unpackfsc/UnpackFSCJob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@ UnpackFSCJob::~UnpackFSCJob() {}
QString
UnpackFSCJob::prettyName() const
{
return m_progressMessage.isEmpty() ? tr( "Unpack filesystems" ) : m_progressMessage;
return tr( "Unpack filesystems" );
}

QString
UnpackFSCJob::prettyStatusMessage() const
{
return m_progressMessage;
}
Calamares::JobResult
UnpackFSCJob::exec()
{
Expand Down
1 change: 1 addition & 0 deletions modules/unpackfsc/UnpackFSCJob.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class PLUGINDLLEXPORT UnpackFSCJob : public Calamares::CppJob
~UnpackFSCJob() override;

QString prettyName() const override;
QString prettyStatusMessage() const override;

Calamares::JobResult exec() override;

Expand Down

0 comments on commit 8f0403a

Please sign in to comment.