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
2
Merge Requests
2
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
6279f62d
Commit
6279f62d
authored
Jan 15, 2018
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give some url to snaps until they have an appsteam id
parent
61f520f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
libdiscover/backends/SnapBackend/SnapResource.cpp
libdiscover/backends/SnapBackend/SnapResource.cpp
+6
-0
libdiscover/backends/SnapBackend/SnapResource.h
libdiscover/backends/SnapBackend/SnapResource.h
+1
-0
No files found.
libdiscover/backends/SnapBackend/SnapResource.cpp
View file @
6279f62d
...
...
@@ -157,3 +157,9 @@ bool SnapResource::isTechnical() const
{
return
m_snap
->
snapType
()
!=
QLatin1String
(
"app"
);
}
QUrl
SnapResource
::
url
()
const
{
//FIXME interim, until it has an appstreamId
return
QUrl
(
QStringLiteral
(
"snap://"
)
+
packageName
());
}
libdiscover/backends/SnapBackend/SnapResource.h
View file @
6279f62d
...
...
@@ -55,6 +55,7 @@ public:
void
fetchChangelog
()
override
;
void
fetchScreenshots
()
override
;
QList
<
PackageState
>
addonsInformation
()
override
{
return
{};
}
QUrl
url
()
const
override
;
void
setState
(
AbstractResource
::
State
state
);
...
...
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