Commit f89b9b05 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove some unused object instances

parent 92a1792f
......@@ -48,7 +48,6 @@ void KChatBaseItemDelegate::paint(QPainter *painter,
const QString& message) const
{
// qDebug() << "KChatBaseItemDelegate::paint";
QFontMetrics fm = painter->fontMetrics();
painter->setFont(((KChatBaseModel*)index.model())->nameFont());
painter->drawText(option.rect.x(),
QFontMetrics(option.font).height()+option.rect.y(), i18n("%1: ",sender));
......
......@@ -355,7 +355,6 @@ QString KGamePropertyHandler::propertyValue(KGamePropertyBase* prop)
}
int id = prop->id();
QString name = propertyName(id);
QString value;
const type_info* t = prop->typeinfo();
......
......@@ -414,7 +414,6 @@ void KMessageServer::processOneMessage ()
bool unknown = false;
QByteArray ttt=in_buffer.buffer();
quint32 messageID;
in_stream >> messageID;
//qCDebug(GAMES_PRIVATE_KGAME) << ": got message with messageID=" << messageID;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment