Fixed signal slot connections

Fixed connection to renamed CustomData::customDataModified() signal
Fixed connection to renamed Database::databaseModified() signal
Fixed connection to renamed Group::groupModified() signal
This commit is contained in:
Christian Kieschnick 2019-01-02 10:42:21 +01:00 committed by Jonathan White
parent 21de6f6163
commit 52dcc2855e
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ void EditWidgetProperties::setCustomData(CustomData* customData)
m_customData = customData;
if (m_customData) {
connect(m_customData, SIGNAL(modified()), SLOT(update()));
connect(m_customData, SIGNAL(customDataModified()), SLOT(update()));
}
update();

View File

@ -125,7 +125,7 @@ ShareObserver::ShareObserver(QSharedPointer<Database> db, QObject* parent)
{
connect(KeeShare::instance(), SIGNAL(activeChanged()), SLOT(handleDatabaseChanged()));
connect(m_db.data(), SIGNAL(modified()), SLOT(handleDatabaseChanged()));
connect(m_db.data(), SIGNAL(databaseModified()), SLOT(handleDatabaseChanged()));
connect(m_db.data(), SIGNAL(databaseSaved()), SLOT(handleDatabaseSaved()));
connect(m_fileWatcher, SIGNAL(fileCreated(QString)), SLOT(handleFileUpdated(QString)));

View File

@ -92,7 +92,7 @@ void EditGroupWidgetKeeShare::setGroup(Group* temporaryGroup)
m_temporaryGroup = temporaryGroup;
if (m_temporaryGroup) {
connect(m_temporaryGroup, SIGNAL(modified()), SLOT(update()));
connect(m_temporaryGroup, SIGNAL(groupModified()), SLOT(update()));
}
update();
}