[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi/widget
From:       Lorenzo Villani <lvillani () binaryhelix ! net>
Date:       2008-08-22 17:49:24
Message-ID: 1219427364.391636.11737.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 850983 by villani:

Avoid using the old deprecated call

 M  +7 -1      kexiscrollview.cpp  


--- trunk/koffice/kexi/widget/kexiscrollview.cpp #850982:850983
@@ -1,3 +1,9 @@
+
+#include <QtGui/qpalette.h>
+
+
+#include <QtGui/qpalette.h>
+
 /* This file is part of the KDE project
    Copyright (C) 2004 Cedric Pasteur <cedric.pasteur@free.fr>
    Copyright (C) 2004 Jarosław Staniek <staniek@kde.org>
@@ -337,7 +343,7 @@
         //draw right and bottom borders
         const int wx = childX(m_widget);
         const int wy = childY(m_widget);
-        p->setPen(palette().active().foreground());
+        p->setPen(palette().color(QPalette::Active, QPalette::Foreground));
         p->drawLine(wx + m_widget->width(), wy, wx + m_widget->width(), wy + m_widget->height());
         p->drawLine(wx, wy + m_widget->height(), wx + m_widget->width(), wy + m_widget->height());
 //kDebug() << "KexiScrollView::drawContents() " << wy+m_widget->height() << endl;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic