mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
parent
f8db78be34
commit
5757fff5a6
|
@ -35,7 +35,7 @@ void ExternalViewer::start()
|
|||
{
|
||||
connect( &viewer, SIGNAL( finished( int, QProcess::ExitStatus ) ),
|
||||
this, SLOT( deleteLater() ) );
|
||||
connect( &viewer, SIGNAL( error( QProcess::ProcessError ) ),
|
||||
connect( &viewer, SIGNAL( errorOccurred( QProcess::ProcessError ) ),
|
||||
this, SLOT( deleteLater() ) );
|
||||
|
||||
QStringList args = parseCommandLine( viewerCmdLine );
|
||||
|
|
|
@ -141,7 +141,7 @@ RunInstance::RunInstance(): process( this )
|
|||
connect( this, SIGNAL(processFinished()), this,
|
||||
SLOT(handleProcessFinished()), Qt::QueuedConnection );
|
||||
connect( &process, SIGNAL(finished(int)), this, SIGNAL(processFinished()));
|
||||
connect( &process, SIGNAL(error(QProcess::ProcessError)), this,
|
||||
connect( &process, SIGNAL(errorOccurred(QProcess::ProcessError)), this,
|
||||
SIGNAL(processFinished()) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue