Fix issue with changed() never being emitted on remove in GS.
This commit is contained in:
parent
b348a45834
commit
30a840ceb0
@ -68,8 +68,9 @@ GlobalStorage::keys() const
|
|||||||
int
|
int
|
||||||
GlobalStorage::remove( const QString& key )
|
GlobalStorage::remove( const QString& key )
|
||||||
{
|
{
|
||||||
return m.remove( key );
|
int nItems = m.remove( key );
|
||||||
emit changed();
|
emit changed();
|
||||||
|
return nItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user