qrenderdoc: fix --targetcontrol

This commit is contained in:
David McFarland
2017-12-19 16:59:24 -04:00
committed by Baldur Karlsson
parent ad38130624
commit 7ae6cc3c37
+2 -1
View File
@@ -149,7 +149,8 @@ int main(int argc, char *argv[])
for(int i = 0; i + 1 < argc; i++)
{
if(!QString::compare(QString::fromUtf8(argv[i]), lit("--remoteaccess"), Qt::CaseInsensitive))
if(!QString::compare(QString::fromUtf8(argv[i]), lit("--remoteaccess"), Qt::CaseInsensitive) ||
!QString::compare(QString::fromUtf8(argv[i]), lit("--targetcontrol"), Qt::CaseInsensitive))
{
QRegularExpression regexp(lit("^([a-zA-Z0-9_-]+:)?([0-9]+)$"));