mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Merge pull request #1822 from xiaoyifang/staged
Some checks failed
Release AutoTag / Build (push) Has been cancelled
Release macOS / Build (macos-13, clang_64, 6.6.3) (push) Has been cancelled
Release macOS / Build (macos-13, clang_64, 6.7.3) (push) Has been cancelled
Release macOS / Build (macos-14, clang_64, 6.6.3) (push) Has been cancelled
Release macOS / Build (macos-14, clang_64, 6.7.3) (push) Has been cancelled
Release Windows CMake / Build (windows-2022, win64_msvc2019_64, 6.6.3) (push) Has been cancelled
Release Windows CMake / Build (windows-2022, win64_msvc2019_64, 6.7.3) (push) Has been cancelled
Some checks failed
Release AutoTag / Build (push) Has been cancelled
Release macOS / Build (macos-13, clang_64, 6.6.3) (push) Has been cancelled
Release macOS / Build (macos-13, clang_64, 6.7.3) (push) Has been cancelled
Release macOS / Build (macos-14, clang_64, 6.6.3) (push) Has been cancelled
Release macOS / Build (macos-14, clang_64, 6.7.3) (push) Has been cancelled
Release Windows CMake / Build (windows-2022, win64_msvc2019_64, 6.6.3) (push) Has been cancelled
Release Windows CMake / Build (windows-2022, win64_msvc2019_64, 6.7.3) (push) Has been cancelled
merge staged to dev
This commit is contained in:
commit
9b84bf40cb
5
.github/workflows/PR-check-cmake.yml
vendored
5
.github/workflows/PR-check-cmake.yml
vendored
|
@ -17,6 +17,8 @@ jobs:
|
|||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install build-essential ninja-build \
|
||||
libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
|
||||
libxtst-dev liblzo2-dev libbz2-dev \
|
||||
|
@ -34,7 +36,6 @@ jobs:
|
|||
qt6-webengine-dev
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
submodules: false
|
||||
- name: Run build
|
||||
run: |
|
||||
|
@ -49,7 +50,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
submodules: false
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -92,7 +92,6 @@ jobs:
|
|||
setup-python: 'false'
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
submodules: true
|
||||
- name: Run build
|
||||
run: |
|
||||
|
|
|
@ -200,7 +200,7 @@ void RunInstance::handleProcessFinished()
|
|||
QByteArray err = process.readAllStandardError();
|
||||
|
||||
if ( !err.isEmpty() ) {
|
||||
error += "\n\n" + QString::fromLocal8Bit( err );
|
||||
error += "\n\n" + QString::fromUtf8( err );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -252,8 +252,8 @@ void ProgramDataRequest::instanceFinished( QByteArray output, QString error )
|
|||
prog_output = QString::fromUtf8( output.data() + 3, output.length() - 3 );
|
||||
}
|
||||
else {
|
||||
// No BOM, assume local 8-bit encoding
|
||||
prog_output = QString::fromLocal8Bit( output );
|
||||
// No BOM, assume UTF-8 encoding
|
||||
prog_output = QString::fromUtf8( output );
|
||||
}
|
||||
}
|
||||
catch ( std::exception & e ) {
|
||||
|
|
|
@ -1851,7 +1851,7 @@ ArticleView * MainWindow::createNewTab( bool switchToIt, QString const & name )
|
|||
connect( view, &ArticleView::zoomOut, this, &MainWindow::zoomout );
|
||||
connect( view, &ArticleView::saveBookmarkSignal, this, &MainWindow::addBookmarkToFavorite );
|
||||
|
||||
connect( ui.searchInPageAction, &QAction::triggered, this, [ this, view ]() {
|
||||
connect( ui.searchInPageAction, &QAction::triggered, view, [ this, view ]() {
|
||||
#ifdef Q_OS_MACOS
|
||||
//workaround to fix macos popup page search Ctrl + F
|
||||
if ( scanPopup && scanPopup->isActiveWindow() ) {
|
||||
|
|
Loading…
Reference in a new issue