mirror of
https://github.com/YACReader/yacreader
synced 2025-08-11 00:35:21 -04:00
YACReader
YACReaderLibrary
YACReaderLibraryServer
ci
common
gl
bookmarks.cpp
bookmarks.h
check_new_version.cpp
check_new_version.h
comic.cpp
comic.h
comic_db.cpp
comic_db.h
concurrent_queue.cpp
concurrent_queue.h
custom_widgets.cpp
custom_widgets.h
exit_check.cpp
exit_check.h
folder.cpp
folder.h
http_worker.cpp
http_worker.h
library_item.cpp
library_item.h
opengl_checker.cpp
opengl_checker.h
pdf_comic.cpp
pdf_comic.h
pdf_comic.mm
pictureflow.cpp
pictureflow.h
qnaturalsorting.cpp
qnaturalsorting.h
release_acquire_atomic.h
scroll_management.cpp
scroll_management.h
worker_thread.h
yacreader_global.cpp
yacreader_global.h
yacreader_global_gui.cpp
yacreader_global_gui.h
compressed_archive
custom_widgets
dependencies
files
images
release
shortcuts_management
tests
third_party
.clang-format
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
COPYING.txt
INSTALL.md
README.md
YACReader.1
YACReader.desktop
YACReader.pro
YACReader.svg
YACReaderLibrary.1
YACReaderLibrary.desktop
YACReaderLibrary.svg
azure-pipelines-build-number.yml
azure-pipelines-windows-template-qt6.yml
azure-pipelines-windows-template.yml
azure-pipelines.yml
background.png
background@2x.png
cleanOSX.sh
com.yacreader.YACReader.appdata.xml
com.yacreader.YACReader.yml
compileOSX.sh
config.pri
dmg.json
icon.icns
mktarball.sh
signapps.sh
19 lines
369 B
C++
19 lines
369 B
C++
#include "exit_check.h"
|
|
|
|
#include "yacreader_global.h"
|
|
|
|
#include <QMessageBox>
|
|
|
|
using namespace YACReader;
|
|
|
|
void YACReader::exitCheck(int ret)
|
|
{
|
|
switch (ret) {
|
|
case YACReader::SevenZNotFound:
|
|
QMessageBox::critical(0, QObject::tr("7z lib not found"), QObject::tr("unable to load 7z lib from ./utils"));
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|