[Kde-games-devel] Apparently Unused Function in KBattleShip

Roney Gomes roney477 at gmail.com
Wed Jun 13 18:30:31 UTC 2012


Hi.

I found the following function, member of SeaView, that apparently does nothing.

void Seaview::buttonClicked(Button *button)
{
    Q_UNUSED(button);
}

It is connected to the signal clicked(Button *button), from BattlefieldView.

Can someone tell me, please, whether this function is supposed to do
something in the future or it's just dead code?

Thanks in advance.


More information about the kde-games-devel mailing list