Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Discover
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Discover
Commits
fcec1090
Commit
fcec1090
authored
Jun 01, 2018
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show something on the updates page after leaving it to navigate the app
BUG: 393593
parent
5374247f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
discover/qml/UpdatesPage.qml
discover/qml/UpdatesPage.qml
+1
-1
libdiscover/UpdateModel/UpdateModel.cpp
libdiscover/UpdateModel/UpdateModel.cpp
+2
-1
No files found.
discover/qml/UpdatesPage.qml
View file @
fcec1090
...
...
@@ -238,8 +238,8 @@ DiscoverPage
readonly
property
alias
secSinceUpdate
:
resourcesUpdatesModel
.
secsToLastUpdate
state
:
(
updateModel
.
hasUpdates
?
"
has-updates
"
:
ResourcesModel
.
isFetching
?
"
fetching
"
:
resourcesUpdatesModel
.
isProgressing
?
"
progressing
"
:
ResourcesModel
.
isFetching
?
"
fetching
"
:
secSinceUpdate
<
0
?
"
unknown
"
:
secSinceUpdate
===
0
?
"
now-uptodate
"
:
secSinceUpdate
<
1000
*
60
*
60
*
24
?
"
uptodate
"
...
...
libdiscover/UpdateModel/UpdateModel.cpp
View file @
fcec1090
...
...
@@ -100,7 +100,8 @@ void UpdateModel::activityChanged()
for
(
auto
item
:
m_updateItems
)
{
item
->
setProgress
(
0
);
}
}
}
else
setResources
(
m_updates
->
toUpdate
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment