Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
libkdegames
Commits
f89b9b05
Commit
f89b9b05
authored
Dec 16, 2020
by
Friedrich W. H. Kossebau
Browse files
Remove some unused object instances
parent
92a1792f
Changes
3
Show whitespace changes
Inline
Side-by-side
src/private/kchatbaseitemdelegate.cpp
View file @
f89b9b05
...
...
@@ -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
));
...
...
src/private/kgame/kgamepropertyhandler.cpp
View file @
f89b9b05
...
...
@@ -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
();
...
...
src/private/kgame/kmessageserver.cpp
View file @
f89b9b05
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment