Skip to content
Permalink
Browse files
Background color for overview widget now set as background color of w…
…indows.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5006 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 11, 2006
1 parent 64d8bc0 commit 0b3e22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
@@ -841,9 +841,6 @@ void QgsMapCanvas::setCanvasColor(const QColor & theColor)

// background of Q3Canvas
mCanvas->setBackgroundColor(theColor);

if (mMapOverview)
mMapOverview->setbgColor(theColor);
} // setbgColor


@@ -70,7 +70,8 @@ QgsMapOverviewCanvas::QgsMapOverviewCanvas(QWidget * parent, QgsMapCanvas* mapCa

mMapRender = new QgsMapRender;
mMapRender->setOverview();
setbgColor(Qt::white);

setbgColor(palette().window().color());
}

QgsMapOverviewCanvas::~QgsMapOverviewCanvas()

0 comments on commit 0b3e22f

Please sign in to comment.