Add deviceReverted signal to PCM and emit it.

main
Teo Mrnjavac 9 years ago
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…
Cancel
Save