Fix inadvertent "TQ" changes.

(cherry picked from commit 24e982a061)
v3.5.13-sru
Darrell Anderson 13 years ago committed by Slávek Banko
parent 1a954a9729
commit 09e8a2f3b7

@ -72,7 +72,7 @@ const int MENU_LOAD = 0x02;
const int MENU_SAVE = 0x03; const int MENU_SAVE = 0x03;
const int MENU_SAVEAS = 0x04; const int MENU_SAVEAS = 0x04;
const int MENU_PRINT = 0x05; const int MENU_PRINT = 0x05;
const int MENU_TQUIT = 0x06; const int MENU_QUIT = 0x06;
const int MENU_CLOSE = 0x08; const int MENU_CLOSE = 0x08;
const int MENU_CLOSEALL = 0x09; const int MENU_CLOSEALL = 0x09;
const int MENU_CONNECT = 0x0A; const int MENU_CONNECT = 0x0A;

@ -341,10 +341,10 @@ void Knights::initMenus( void )
fileMenu->setItemEnabled( MENU_CLOSEALL, FALSE ); fileMenu->setItemEnabled( MENU_CLOSEALL, FALSE );
fileMenu->setWhatsThis( MENU_CLOSEALL, i18n( "This command will remove all matches that are currently loaded." ) ); fileMenu->setWhatsThis( MENU_CLOSEALL, i18n( "This command will remove all matches that are currently loaded." ) );
fileMenu->insertSeparator(); fileMenu->insertSeparator();
// MENU_TQUIT // MENU_QUIT
fileMenu->insertItem( TQIconSet( Resource->LoadIcon( TQString("exit"), KIcon::Small ) ), fileMenu->insertItem( TQIconSet( Resource->LoadIcon( TQString("exit"), KIcon::Small ) ),
i18n( "&Quit" ), this, TQT_SLOT(menuClose()), CTRL+Key_Q, MENU_TQUIT ); i18n( "&Quit" ), this, TQT_SLOT(menuClose()), CTRL+Key_Q, MENU_QUIT );
fileMenu->setWhatsThis( MENU_TQUIT, i18n( "The Quit command will stop all matches and exit Knights." ) ); fileMenu->setWhatsThis( MENU_QUIT, i18n( "The Quit command will stop all matches and exit Knights." ) );
/* /*
settingsMenu menu settingsMenu menu
*/ */

@ -1064,7 +1064,7 @@ void logic::_HashLegal( const bool Recursion )
switch( chessman[ManPtr].Type ) switch( chessman[ManPtr].Type )
{ {
/* ROOK & TQUEEN */ /* ROOK & QUEEN */
case Rook: case Rook:
case Queen: case Queen:
/* Positive Rank Movement */ /* Positive Rank Movement */

Loading…
Cancel
Save