Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set options list style to to white background
  • Loading branch information
timlinux committed Jan 22, 2013
1 parent 53197ad commit de437ab
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
13 changes: 5 additions & 8 deletions src/core/raster/qgsrasterlayer.cpp
Expand Up @@ -2279,15 +2279,12 @@ bool QgsRasterLayer::readSymbology( const QDomNode& layer_node, QString& errorMe

if ( !rasterRendererElem.isNull() )
{
if ( !rasterRendererElem.isNull() )
QString rendererType = rasterRendererElem.attribute( "type" );
QgsRasterRendererRegistryEntry rendererEntry;
if ( QgsRasterRendererRegistry::instance()->rendererData( rendererType, rendererEntry ) )
{
QString rendererType = rasterRendererElem.attribute( "type" );
QgsRasterRendererRegistryEntry rendererEntry;
if ( QgsRasterRendererRegistry::instance()->rendererData( rendererType, rendererEntry ) )
{
QgsRasterRenderer *renderer = rendererEntry.rendererCreateFunction( rasterRendererElem, dataProvider() );
mPipe.set( renderer );
}
QgsRasterRenderer *renderer = rendererEntry.rendererCreateFunction( rasterRendererElem, dataProvider() );
mPipe.set( renderer );
}
}

Expand Down
47 changes: 25 additions & 22 deletions src/ui/qgsoptionsbase.ui
Expand Up @@ -59,6 +59,9 @@
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: #fff</string>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
Expand Down Expand Up @@ -266,8 +269,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>654</width>
<height>529</height>
<width>663</width>
<height>562</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_28">
Expand Down Expand Up @@ -772,8 +775,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>611</width>
<height>808</height>
<width>652</width>
<height>803</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_22">
Expand Down Expand Up @@ -1102,8 +1105,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>559</width>
<height>417</height>
<width>529</width>
<height>443</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_27">
Expand Down Expand Up @@ -1421,8 +1424,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>615</width>
<height>681</height>
<width>608</width>
<height>728</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_29">
Expand Down Expand Up @@ -1909,8 +1912,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>498</width>
<height>332</height>
<width>483</width>
<height>364</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_25">
Expand Down Expand Up @@ -2148,8 +2151,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>556</width>
<height>718</height>
<width>534</width>
<height>771</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_30">
Expand Down Expand Up @@ -2528,8 +2531,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>517</width>
<height>643</height>
<width>500</width>
<height>691</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_31">
Expand Down Expand Up @@ -3017,8 +3020,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>537</width>
<height>361</height>
<width>462</width>
<height>386</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
Expand Down Expand Up @@ -3157,8 +3160,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>614</width>
<height>393</height>
<width>638</width>
<height>422</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_15">
Expand Down Expand Up @@ -3338,8 +3341,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>248</height>
<width>298</width>
<height>240</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_32">
Expand Down Expand Up @@ -3438,8 +3441,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>521</width>
<height>650</height>
<width>540</width>
<height>672</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_33">
Expand Down

0 comments on commit de437ab

Please sign in to comment.