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@5006 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 11, 2006
1 parent 2d40166 commit 930fd01b4ef56f00f423131123a7005fb134fa81
Showing with 2 additions and 4 deletions.
  1. +0 −3 src/gui/qgsmapcanvas.cpp
  2. +2 −1 src/gui/qgsmapoverviewcanvas.cpp
@@ -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 930fd01

Please sign in to comment.
You can’t perform that action at this time.