From fc0a26d8b6bf993f27f997b0f51a4a1ddf0f8090 Mon Sep 17 00:00:00 2001
From: Denis Mingulov <denis.mingulov@symbio.com>
Date: Fri, 18 Jun 2010 11:02:49 +0200
Subject: [PATCH] ImageViewer: Remove the frame around the the ImageView
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Merge-request: 2165
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
---
 src/plugins/imageviewer/imageview.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/imageviewer/imageview.cpp b/src/plugins/imageviewer/imageview.cpp
index ce602e6f71a..a3991f85881 100644
--- a/src/plugins/imageviewer/imageview.cpp
+++ b/src/plugins/imageviewer/imageview.cpp
@@ -74,6 +74,7 @@ ImageView::ImageView(QWidget *parent)
     setTransformationAnchor(AnchorUnderMouse);
     setDragMode(ScrollHandDrag);
     setViewportUpdateMode(FullViewportUpdate);
+    setFrameShape(QFrame::NoFrame);
 
     // Prepare background check-board pattern
     QPixmap tilePixmap(64, 64);
-- 
GitLab