r18340 by fschmid - Qt5 Port: in node edit mode selection rectangle is now transparent again.

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 25 20:35:10 UTC 2013


Author: fschmid
Date: Tue Jun 25 20:35:10 2013
New Revision: 18340

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18340
Log:
Qt5 Port: in node edit mode selection rectangle is now transparent again.

Modified:
    trunk/Scribus/scribus/canvasgesture_rectselect.cpp

Modified: trunk/Scribus/scribus/canvasgesture_rectselect.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18340&path=/trunk/Scribus/scribus/canvasgesture_rectselect.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_rectselect.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_rectselect.cpp Tue Jun 25 20:35:10 2013
@@ -40,6 +40,9 @@
 	if (!m_rectangle)
 		m_rectangle = new QRubberBand(QRubberBand::Rectangle);
 	setStart(start);
+#ifdef USE_QT5
+	m_rectangle->setWindowOpacity(0.5);
+#endif
 	m_rectangle->setGeometry(m_start.x(), m_start.y(), 1, 1);
 }
 




More information about the scribus-commit mailing list