Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLMC
Manage
Activity
Members
Labels
Plan
Issues
26
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLMC
Commits
3b9a5f75
Commit
3b9a5f75
authored
8 years ago
by
luyikei
Browse files
Options
Downloads
Patches
Plain Diff
RecentProjects: Add updated() signal
parent
0ea2713b
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Project/RecentProjects.cpp
+2
-0
2 additions, 0 deletions
src/Project/RecentProjects.cpp
src/Project/RecentProjects.h
+3
-0
3 additions, 0 deletions
src/Project/RecentProjects.h
with
5 additions
and
0 deletions
src/Project/RecentProjects.cpp
+
2
−
0
View file @
3b9a5f75
...
...
@@ -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
();
}
This diff is collapsed.
Click to expand it.
src/Project/RecentProjects.h
+
3
−
0
View file @
3b9a5f75
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment