QTfrontend/hwform.cpp
changeset 687 8e2dedaa01b4
parent 686 494b5880989a
child 694 436045756181
equal deleted inserted replaced
686:494b5880989a 687:8e2dedaa01b4
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
    19 #include <QStringList>
       
    20 #include <QProcess>
       
    21 #include <QDir>
       
    22 #include <QPixmap>
       
    23 #include <QRegExp>
       
    24 #include <QIcon>
       
    25 #include <QFile>
    19 #include <QFile>
    26 #include <QTextStream>
    20 #include <QTextStream>
    27 #include <QMessageBox>
    21 #include <QMessageBox>
    28 #include <QPushButton>
    22 #include <QPushButton>
    29 #include <QListWidget>
    23 #include <QListWidget>
   513 			GoToPage(ID_PAGE_GAMESTATS);
   507 			GoToPage(ID_PAGE_GAMESTATS);
   514 			break;
   508 			break;
   515 		}
   509 		}
   516 		default: {
   510 		default: {
   517 			quint8 id = ui.Pages->currentIndex();
   511 			quint8 id = ui.Pages->currentIndex();
   518 qDebug() << id;
       
   519 			if (id == ID_PAGE_INGAME) GoBack();
   512 			if (id == ID_PAGE_INGAME) GoBack();
   520 		};
   513 		};
   521 	}
   514 	}
   522 
   515 
   523 	if (hwnet)
   516 	if (hwnet)