[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH] KMid: draw note events
From: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas () gmail ! com>
Date: 2009-09-29 9:56:47
Message-ID: 200909291156.47379.pedro.lopez.cabanillas () gmail ! com
[Download RAW message or body]
Hola,
Desde la migraciĆ³n a KDE4, KMid ya no pinta los eventos de notas en los
teclados de la vista de canales. En cambio, se pueden ver una serie de
mensajes en el terminal:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setPen: Painter not active
El parche adjunto lo soluciona.
Saludos,
Pedro
- -
Hi,
Since the KDE4 migration, KMid doesn't draw the note events on the keyboard
widget of the channels view. Instead, you can see the following messages in
the terminal:
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::setPen: Painter not active
The attached patch solves the issue.
Regards,
Pedro
["kmid-svn-channel.patch" (text/x-diff)]
Index: channel.cpp
===================================================================
--- channel.cpp (revisiĆ³n: 1028792)
+++ channel.cpp (copia de trabajo)
@@ -50,6 +50,7 @@
replay=TRUE;
int i;
for (i=0;i<128;i++) pressed[i]=0;
+ setAttribute(Qt::WA_PaintOutsidePaintEvent, true);
keyboard = QPixmap(KStandardDirs::locate("appdata","icons/keyboard.xpm"));
penB = new QPen (Qt::black);
penW = new QPen (Qt::white);
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic