[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/games/backgammon
From:       Dmitry Vladimirovich Chernov <diman4ik.chernov () gmail ! com>
Date:       2011-10-24 6:07:20
Message-ID: 20111024060720.7B3EEAC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1260442 by dmitryvchernov:

bugfix

 M             default_theme.svgz  
 M  +4 -0      games/backgammon/fibs/backgammon_fibs.cpp  
 M  +1 -1      mainwindow.cpp  


--- trunk/playground/games/backgammon/games/backgammon/fibs/backgammon_fibs.cpp #1260441:1260442
@@ -796,6 +796,10 @@
     while( your_roll == opponent_roll )
     {
         QString next = Clip::getLine( line );
+		
+		if( next.contains("The number on ") )
+			continue;
+			
         Rolls first_roll = getRolls( next );
     
         your_roll = first_roll.first;
--- trunk/playground/games/backgammon/mainwindow.cpp #1260441:1260442
@@ -218,7 +218,7 @@
 	m_doubleAction = new KAction( i18n("doubleAct"), this );
 	m_doubleAction->setIcon(KIcon(QLatin1String("double")));
     actionCollection()->addAction( "doubleAct", m_doubleAction );	
-	connect( m_doubleAction, SIGNAL( toggled(bool) ), SLOT( doubleGame(bool) ) );
+	connect( m_doubleAction, SIGNAL( triggered(bool) ), SLOT( doubleGame(bool) ) );
 	m_doubleAction->setEnabled(false);
 	menuAct->addAction( m_doubleAction );
 	
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic