Skip to content

Commit de578fe

Browse files
committed
Fixed FLineEdit label not shown again after hide() + show()
1 parent fdd4d04 commit de578fe

20 files changed

+56
-26
lines changed

.github/workflows/alpine.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
autoreconf --force --install --verbose --warnings=all
4646
automake --add-missing --copy
4747
./configure --prefix=/usr
48-
make -j10
48+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
49+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
50+
make -j$JOBS
4951
shell: alpine.sh {0}
5052

.github/workflows/arm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ jobs:
5858
g++ --version
5959
autoreconf -v --install --force
6060
./configure --prefix=/usr
61-
make -j10
61+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
62+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
63+
make -j$JOBS
6264
6365
- name: Get the output
6466
run: |

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ jobs:
6363
run: ./configure --prefix=/usr CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG -W -Wall -pedantic"
6464

6565
- name: Build
66-
run: make V=1 -j10
66+
run: |
67+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
68+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
69+
make -j$JOBS
6770
6871
- name: Perform CodeQL Analysis
6972
uses: github/codeql-action/analyze@v2

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
5454
- name: Generate lcov.info and publish to coveralls.io
5555
run: |
56-
lcov --compat-libtool --directory . --capture --output-file lcov-all.info
57-
lcov --remove lcov-all.info '/usr/include/*' './include/*' --output-file lcov.info
56+
lcov --compat-libtool --directory . --capture --ignore-errors gcov,gcov --ignore-errors mismatch,mismatch --output-file lcov-all.info
57+
lcov --remove lcov-all.info '/usr/include/*' './include/*' --ignore-errors unused,unused --output-file lcov.info
5858
lcov --list lcov.info
5959
rm -f lcov-all.info
6060
coveralls-lcov --branch=${GITHUB_REF##*/} --repo-token "${{ secrets.COVERALLS_REPO_TOKEN }}" lcov.info

.github/workflows/coverity-scan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ jobs:
6161
CPPFLAGS="-DDEBUG" \
6262
CXXFLAGS="-g -O0 -DDEBUG -DUNIT_TEST" \
6363
--with-unit-test
64-
cov-build --dir cov-int make V=1 -j10
64+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
65+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
66+
cov-build --dir cov-int make V=1 -j$JOBS
6567
6668
- name: Submit the result to Coverity Scan
6769
run: |

.github/workflows/cygwin.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
autoreconf --force --install --verbose --warnings=all
4343
automake --add-missing --copy
4444
./configure --prefix=/usr
45-
make -j10
45+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
46+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
47+
make -j$JOBS
4648
shell: C:\cygwin\bin\bash.exe --login '{0}'
4749
env:
4850
WORKSPACE_PATH: "${{ github.workspace }}"

.github/workflows/freebsd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@ jobs:
3232
g++ --version
3333
autoreconf -v --install --force
3434
./configure --prefix=/usr
35-
make -j10
35+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
36+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
37+
make -j$JOBS
3638

.github/workflows/macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ jobs:
3636
run: |
3737
autoreconf -v --install --force
3838
./configure --prefix=/usr CPPFLAGS=-I/opt/homebrew/opt/ncurses/include
39-
make -j10
39+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
40+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
41+
make -j$JOBS
4042

.github/workflows/netbsd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ jobs:
3535
$CXX --version
3636
autoreconf -v --install --force
3737
./configure --prefix=/usr
38-
make -j10
38+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
39+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
40+
make -j$JOBS
3941

.github/workflows/openbsd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ jobs:
3434
eg++ --version
3535
autoreconf -v --install --force
3636
./configure --prefix=/usr
37-
make -j10
37+
CPU_COUNT="$( ( ( getconf _NPROCESSORS_ONLN 2>/dev/null || (getconf NPROCESSORS_ONLN 2>/dev/null) ) || nprocx 2>/dev/null ) || echo "1")"
38+
JOBS="$(( $((CPU_COUNT / 2)) > 1 ? $((CPU_COUNT / 2)) : 1 ))"
39+
make -j$JOBS
3840

0 commit comments

Comments
 (0)