camino-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Camino-devel] camino/src/client Game.cpp


From: Philippe Fremy
Subject: [Camino-devel] camino/src/client Game.cpp
Date: Sun, 02 Mar 2003 19:18:16 -0500

CVSROOT:        /cvsroot/camino
Module name:    camino
Changes by:     Philippe Fremy <address@hidden> 03/03/02 19:18:16

Modified files:
        src/client     : Game.cpp 

Log message:
        set player name in the window title

Patches:
Index: camino/src/client/Game.cpp
diff -u camino/src/client/Game.cpp:1.27 camino/src/client/Game.cpp:1.28
--- camino/src/client/Game.cpp:1.27     Sun Mar  2 16:34:12 2003
+++ camino/src/client/Game.cpp  Sun Mar  2 19:18:16 2003
@@ -2,7 +2,7 @@
 **
 ** Camino
 **
-** Version : $Id: Game.cpp,v 1.27 2003/03/02 21:34:12 Audoux Exp $
+** Version : $Id: Game.cpp,v 1.28 2003/03/03 00:18:16 pfremy Exp $
 **
 ** Author(s) : Philippe Fremy, Pascal Audoux
 ** Creation : 15/01/2003
@@ -158,6 +158,9 @@
        sendPlayerInfo( _playerName );
        _state = StateWaitStart;
        emit sig_connected( true );
+
+       QWidget * widget = dynamic_cast<QWidget *> (parent());
+       widget->setCaption( "Camino - " + _playerName );
 }
 
 void Game::slotConnectionClosed()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]