mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
La correction du rendu (pour le bug de decalage au zoom par defaut) est desormais desactivee par defaut.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@386 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -50,7 +50,7 @@ void Element::paint(QPainter *painter, const QStyleOptionGraphicsItem *options,
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
// corrige un bug de rendu ne se produisant que lors du rendu sur QGraphicsScene sous X11 au zoom par defaut
|
||||
static bool must_correct_rendering_bug = QETApp::settings().value("correct-rendering", true).toBool();
|
||||
static bool must_correct_rendering_bug = QETApp::settings().value("correct-rendering", false).toBool();
|
||||
if (must_correct_rendering_bug) {
|
||||
Diagram *dia = diagram();
|
||||
if (dia && options -> levelOfDetail == 1.0 && widget) {
|
||||
|
||||
Reference in New Issue
Block a user