mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: remove redundant parameter in setPrintMode()
Since using separate profile-instances for print/export, we never exit print mode. Therefore, the mode parameter can be removed. This is a preparatory commit for passing the printMode at construction time. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
db726862ae
commit
9f6e487790
8 changed files with 21 additions and 21 deletions
|
|
@ -30,7 +30,7 @@ void QMLProfile::createProfileView()
|
|||
{
|
||||
m_profileWidget.reset(new ProfileWidget2(nullptr, fontScale * m_devicePixelRatio, nullptr));
|
||||
m_profileWidget->setProfileState(nullptr, 0);
|
||||
m_profileWidget->setPrintMode(true);
|
||||
m_profileWidget->setPrintMode();
|
||||
}
|
||||
|
||||
// we need this so we can connect update() to the scaleChanged() signal - which the connect above cannot do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue