Add deviceReverted signal to PCM and emit it.
This commit is contained in:
parent
60ebc0ecfb
commit
0cff1cd7ec
@ -537,6 +537,7 @@ PartitionCoreModule::revertDevice( Device* dev )
|
|||||||
m_bootLoaderModel->init( devices );
|
m_bootLoaderModel->init( devices );
|
||||||
|
|
||||||
updateIsDirty();
|
updateIsDirty();
|
||||||
|
emit deviceReverted( newDev );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,6 +127,7 @@ Q_SIGNALS:
|
|||||||
void hasRootMountPointChanged( bool value );
|
void hasRootMountPointChanged( bool value );
|
||||||
void isDirtyChanged( bool value );
|
void isDirtyChanged( bool value );
|
||||||
void reverted();
|
void reverted();
|
||||||
|
void deviceReverted( Device* device );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void refresh();
|
void refresh();
|
||||||
|
Loading…
Reference in New Issue
Block a user