mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
YACReaderLibrary: Convert a bunch of widgets/dialogs to new slot syntax
This commit is contained in:
@ -13,8 +13,9 @@ void PackageManager::createPackage(const QString &libraryPath, const QString &de
|
||||
<< "-y"
|
||||
<< "-ttar" << dest + ".clc" << libraryPath;
|
||||
_7z = new QProcess();
|
||||
//TODO: Missing slot for openingError!!!
|
||||
connect(_7z, SIGNAL(error(QProcess::ProcessError)), this, SLOT(openingError(QProcess::ProcessError)));
|
||||
connect(_7z, SIGNAL(finished(int, QProcess::ExitStatus)), this, SIGNAL(exported()));
|
||||
connect(_7z, QOverload<int, QProcess::ExitStatus>::of(&QProcess::finished), this, &PackageManager::exported);
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
_7z->start("7z", attributes); //TODO: use 7z.so
|
||||
#else
|
||||
|
Reference in New Issue
Block a user