Add deviceReverted signal to PCM and emit it.

This commit is contained in:
Teo Mrnjavac 2016-01-05 18:44:05 +01:00
parent 60ebc0ecfb
commit 0cff1cd7ec
2 changed files with 2 additions and 0 deletions

View File

@ -537,6 +537,7 @@ PartitionCoreModule::revertDevice( Device* dev )
m_bootLoaderModel->init( devices ); m_bootLoaderModel->init( devices );
updateIsDirty(); updateIsDirty();
emit deviceReverted( newDev );
} }

View File

@ -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();