Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix copy contructor to copy formatting and locked state
  • Loading branch information
rainemak committed Sep 26, 2018
1 parent 6b51155 commit 607e6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/udisks2block.cpp
Expand Up @@ -102,6 +102,8 @@ UDisks2::Block &UDisks2::Block::operator=(const UDisks2::Block &other)
m_mountable = other.m_mountable;
m_mountPath = other.m_mountPath;
m_encrypted = other.m_encrypted;
m_formatting = other.m_formatting;
m_locking = other.m_locking;

return *this;
}
Expand Down

0 comments on commit 607e6c2

Please sign in to comment.