Skip to content

Commit 03f30af

Browse files
committed
Release v2.0.10
1 parent 73c1077 commit 03f30af

20 files changed

Lines changed: 69 additions & 66 deletions

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
INSTALL_DIR: ${{github.workspace}}/.cache/install_${{matrix.BUILD_TYPE}}
4141
ANDROID_PLATFORM: android-23
4242
ANDROID_NATIVE_API_LEVEL: 23
43-
ChineseChessControl_VERSION: "v2.0.9"
43+
ChineseChessControl_VERSION: "v2.0.10"
4444
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2
4545
qt_modules: 'qtimageformats qtmultimedia qtscxml qtwebchannel qtwebsockets qtwebview'
4646

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: build
55
env:
66
artifact_path: artifact_path
77
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8-
ChineseChessControl_VERSION: "v2.0.9"
8+
ChineseChessControl_VERSION: "v2.0.10"
99

1010
on:
1111
push:

.github/workflows/doxygen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
SOURCE_DIR: ${{github.workspace}}/.cache/source
1919
TOOSL_DIR: ${{github.workspace}}/.cache/tools
2020
INSTALL_DIR: ${{github.workspace}}/.cache/install_ubuntu
21-
ChineseChessControl_VERSION: "v2.0.9"
21+
ChineseChessControl_VERSION: "v2.0.10"
2222
DOXYGEN_VERSION: 1.9.5
2323
artifact_name: build_doxygen
2424

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
SOURCE_DIR: ${{github.workspace}}/.cache/source
3333
TOOSL_DIR: ${{github.workspace}}/.cache/tools
3434
INSTALL_DIR: ${{github.workspace}}/.cache/install_macos
35-
ChineseChessControl_VERSION: "2.0.9"
35+
ChineseChessControl_VERSION: "2.0.10"
3636
artifact_name: build_macos
3737
qt_modules: 'qtwebengine ${{ matrix.qt_modules }}'
3838
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2

.github/workflows/mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
SOURCE_DIR: ${{github.workspace}}\.cache\source
2727
TOOSL_DIR: ${{github.workspace}}\.cache\tools
2828
INSTALL_DIR: ${{github.workspace}}\.cache\install_mingw
29-
ChineseChessControl_VERSION: "v2.0.9"
29+
ChineseChessControl_VERSION: "v2.0.10"
3030
artifact_name: build_mingw
3131

3232
# Map the job outputs to step outputs

.github/workflows/msvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
CMAKE_GENERATOR: "Visual Studio 17 2022"
4646
CMAKE_GENERATOR_PLATFORM: ${{matrix.CMAKE_GENERATOR_PLATFORM}}
4747
VCPKG_PLATFORM_TOOLSET: ${{matrix.VCPKG_PLATFORM_TOOLSET}}
48-
ChineseChessControl_VERSION: "v2.0.9"
48+
ChineseChessControl_VERSION: "v2.0.10"
4949
VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2
5050
qt_modules: 'qtwebengine ${{matrix.qt_modules}}'
5151

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
SOURCE_DIR: ${{github.workspace}}/.cache/source
2222
TOOSL_DIR: ${{github.workspace}}/.cache/tools
2323
INSTALL_DIR: ${{github.workspace}}/.cache/install_ubuntu_${{matrix.BUILD_TYPE}}
24-
ChineseChessControl_VERSION: "2.0.9"
24+
ChineseChessControl_VERSION: "2.0.10"
2525
artifact_name: build_ubuntu
2626

2727
# Map the job outputs to step outputs

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ before_install:
5050
- sudo Xvfb :99 -ac &
5151
- export DISPLAY=:99.0
5252
- mkdir ${SOURCE_DIR}/Tools
53-
- export VERSION="v2.0.9"
53+
- export VERSION="v2.0.10"
5454
- echo "QT_USER:$QT_USER"
5555
- echo "QT_PASSWORD:$QT_PASSWORD"
5656
- echo "STOREPASS:$STOREPASS"

App/Qt/ChineseChess/MainWindow.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,17 @@ MainWindow::~MainWindow()
3333
void MainWindow::on_actionOpen_O_triggered()
3434
{
3535
if(!m_pChess) return;
36-
QString szFile = RabbitCommon::CDir::GetOpenFileName(this,
37-
tr("Open chess game"));
36+
QString szFile = QFileDialog::getOpenFileName(this, tr("Open chess game"));
3837
m_pChess->LoadChessGame(szFile.toStdString().c_str());
3938
m_pChess->update();
4039
}
4140

4241
void MainWindow::on_actionSave_S_triggered()
4342
{
4443
if(!m_pChess) return;
45-
QString szFile = RabbitCommon::CDir::GetSaveFileName(this,
46-
tr("Open chess game"),
47-
QString(),
44+
QString szFile = QFileDialog::getSaveFileName(this,
45+
tr("Open chess game"),
46+
QString(),
4847
tr("Chinese chess control file(*.ccc);;Portable game notation file(*.pgn);;All files(*.*)"));
4948
m_pChess->SaveChessGame(szFile.toStdString().c_str());
5049
}

App/Qt/ChineseChess/android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="org.KangLinStudio.ChineseChess"
4-
android:versionName="2.0.9"
4+
android:versionName="2.0.10"
55
android:versionCode="2"
66
android:installLocation="auto">
77

0 commit comments

Comments
 (0)