Fix issue with changed() never being emitted on remove in GS.

This commit is contained in:
Teo Mrnjavac 2015-06-13 21:30:25 +02:00
parent b348a45834
commit 30a840ceb0

View File

@ -68,8 +68,9 @@ GlobalStorage::keys() const
int
GlobalStorage::remove( const QString& key )
{
return m.remove( key );
int nItems = m.remove( key );
emit changed();
return nItems;
}