mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix translation missing from YACReader when opening from YACReaderLibrary
This commit is contained in:
parent
4942e641dc
commit
2f86eca240
@ -34,8 +34,9 @@ bool YACReader::openComic(const ComicDB &comic,
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
QString executablePath = QDir::cleanPath(QCoreApplication::applicationDirPath() + "/YACReader.exe");
|
||||
QStringList parameters { path, QString("--comicId=%1").arg(comic.id), QString("--libraryId=%1").arg(libraryId), labelParam };
|
||||
yacreaderFound = QProcess::startDetached(QDir::cleanPath(QCoreApplication::applicationDirPath() + "/YACReader.exe"), parameters);
|
||||
yacreaderFound = QProcess::startDetached(executablePath, parameters, QCoreApplication::applicationDirPath());
|
||||
#endif
|
||||
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MACOS
|
||||
|
Loading…
Reference in New Issue
Block a user