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
Marble
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
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
Education
Marble
Commits
c68ad733
Commit
c68ad733
authored
Jul 03, 2016
by
Bernhard Beschow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove yellow icons
fixes regression introduced in
144ce021
parent
c47ba0bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/marble/StyleBuilder.cpp
src/lib/marble/StyleBuilder.cpp
+1
-1
No files found.
src/lib/marble/StyleBuilder.cpp
View file @
c68ad733
...
...
@@ -907,7 +907,7 @@ GeoDataStyle::ConstPtr StyleBuilder::createStyle(const StyleParameters ¶mete
const
QString
keyValue
=
QString
(
"%1=%2"
).
arg
(
iter
.
key
()).
arg
(
iter
.
value
());
const
GeoDataFeature
::
GeoDataVisualCategory
category
=
OsmPresetLibrary
::
osmVisualCategory
(
keyValue
);
const
GeoDataStyle
::
ConstPtr
categoryStyle
=
presetStyle
(
category
);
if
(
!
categoryStyle
->
iconStyle
().
icon
().
isNull
())
{
if
(
category
!=
GeoDataFeature
::
None
&&
!
categoryStyle
->
iconStyle
().
icon
().
isNull
())
{
GeoDataStyle
::
Ptr
newStyle
(
new
GeoDataStyle
(
*
style
));
newStyle
->
setIconStyle
(
categoryStyle
->
iconStyle
());
style
=
newStyle
;
...
...
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