Skip to content

Commit

Permalink
qt gui: be less dramatic if signal to connect does not existent
Browse files Browse the repository at this point in the history
Post a debug warning instead of an error.
  • Loading branch information
jleben committed Oct 4, 2011
1 parent 60373f8 commit 4b17940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QtCollider/QcSignalSpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ QcSignalSpy( QObjectProxy *proxy, const char *sigName,
int sigId = mo->indexOfSignal( signal );

if( sigId < 0 ) {
qcErrorMsg( QString("No such signal: '%1'").arg(signal.constData()) );
qcDebugMsg( 0, QString("WARNING: No such signal to connect: '%1'").arg(signal.constData()) );
return;
}

Expand Down

0 comments on commit 4b17940

Please sign in to comment.