PartitionPreview is now PartitionBarsView.

This commit is contained in:
Teo Mrnjavac 2015-12-03 17:19:02 +01:00
parent 3beebf4137
commit b65fe87503
10 changed files with 43 additions and 43 deletions

View file

@ -28,7 +28,7 @@
#include "ReplaceWidget.h"
#include "PrettyRadioButton.h"
#include "ExpandableRadioButton.h"
#include "PartitionPreview.h"
#include "PartitionBarsView.h"
#include "DeviceInfoWidget.h"
#include "utils/CalamaresUtilsGui.h"
@ -481,7 +481,7 @@ ChoicePage::updateDeviceStatePreview( Device* currentDevice )
m_previewBeforeFrame->setLayout( layout );
layout->setMargin( 0 );
PartitionPreview* preview = new PartitionPreview( m_previewBeforeFrame );
PartitionBarsView* preview = new PartitionBarsView( m_previewBeforeFrame );
preview->setLabelsVisible( true );
Device* deviceBefore = m_core->createImmutableDeviceCopy( currentDevice );
@ -530,7 +530,7 @@ ChoicePage::updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice
case Erase:
case Replace:
{
PartitionPreview* preview = new PartitionPreview( m_previewAfterFrame );
PartitionBarsView* preview = new PartitionBarsView( m_previewAfterFrame );
preview->setLabelsVisible( true );
PartitionModel* model = new PartitionModel( preview );