Commit 3b9a5f75 authored by luyikei's avatar luyikei

RecentProjects: Add updated() signal

parent 0ea2713b
......@@ -62,6 +62,7 @@ RecentProjects::remove( const QString &projectFile )
}
}
m_recentsProjects->set( l );
emit updated();
}
void
......@@ -75,4 +76,5 @@ RecentProjects::projectLoaded( const QString& projectName, const QString& projec
l.removeAll( var );
l.insert( 0, var );
m_recentsProjects->set( l );
emit updated();
}
......@@ -40,6 +40,9 @@ class RecentProjects : public QObject
const QVariant& toVariant() const;
void remove( const QString& projectFile );
signals:
void updated();
public slots:
void projectLoaded( const QString& projectName, const QString& projectFile );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment