Date:2011-07-10 10:28:37 (12 years 8 months ago)
Author:kyak
Commit:3b735b02bc1f7013c000de9bec9af9da0ddd5e53
Message:qball: patches went upstream, updated to 1.3

Files: qball/Makefile (1 diff)
qball/patches/001-convenience.patch (1 diff)

Change Details

qball/Makefile
66include $(TOPDIR)/rules.mk
77
88PKG_NAME:=qball
9PKG_VERSION:=1.2
9PKG_VERSION:=1.3
1010PKG_RELEASE:=1
1111PKG_SOURCE_URL:=http://homepage.ntlworld.com/mark.harman/
1212PKG_SOURCE:=qball_src.zip
13PKG_MD5SUM:=106736362979921cd02fa7675f38c483
13PKG_MD5SUM:=78231c3ae743d6b4e92726125efec448
1414UNZIP_CMD=unzip -d $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) $(DL_DIR)/$(PKG_SOURCE)
1515
1616include $(INCLUDE_DIR)/package.mk
qball/patches/001-convenience.patch
1+++ QBall/mainwindow.cpp 2011-02-02 17:18:47.000000000 +0300
2@@ -274,7 +274,7 @@
3     itemScore->setZValue(1.0);
4     QFont font = itemScore->font();
5     qDebug("font size: %d", font.pointSize());
6- font.setPointSize(8);
7+ font.setPointSize(20);
8     itemScore->setFont(font);
9     itemScore->setPos(16, 16);
10     itemScore->setDefaultTextColor(Qt::yellow);
11@@ -1172,6 +1172,12 @@
12     else if( event->key() == Qt::Key_P ) {
13         gamestate->userPause();
14     }
15+ else if( event->key() == Qt::Key_Return ) {
16+ QPushButton *button = qobject_cast< QPushButton* >(qApp->focusWidget());
17+ if (button) {
18+ button->click();
19+ }
20+ }
21     else {
22         QMainWindow::keyPressEvent(event);
23     }

Archive Download the corresponding diff file



interactive