mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 18:25:25 +02:00
Eliminate silly gcc warnings.
This commit is contained in:
parent
e9ffa05b4b
commit
8223e046c8
1 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@ void TestRunnerMobile::setWorkingFolderAndEnableControls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestRunnerMobile::connectDevice() {
|
void TestRunnerMobile::connectDevice() {
|
||||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
#if defined Q_OS_WIN || defined Q_OS_MAC
|
||||||
QString devicesFullFilename{ _workingFolder + "/devices.txt" };
|
QString devicesFullFilename{ _workingFolder + "/devices.txt" };
|
||||||
QString command = _adbCommand + " devices > " + devicesFullFilename;
|
QString command = _adbCommand + " devices > " + devicesFullFilename;
|
||||||
system(command.toStdString().c_str());
|
system(command.toStdString().c_str());
|
||||||
|
@ -154,7 +154,7 @@ void TestRunnerMobile::downloadComplete() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestRunnerMobile::installAPK() {
|
void TestRunnerMobile::installAPK() {
|
||||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
#if defined Q_OS_WIN || defined Q_OS_MAC
|
||||||
_statusLabel->setText("Installing");
|
_statusLabel->setText("Installing");
|
||||||
QString command = _adbCommand + " install -r -d " + _workingFolder + "/" + _installerFilename + " >" + _workingFolder + "/installOutput.txt";
|
QString command = _adbCommand + " install -r -d " + _workingFolder + "/" + _installerFilename + " >" + _workingFolder + "/installOutput.txt";
|
||||||
system(command.toStdString().c_str());
|
system(command.toStdString().c_str());
|
||||||
|
@ -163,7 +163,7 @@ void TestRunnerMobile::installAPK() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestRunnerMobile::pullFolder() {
|
void TestRunnerMobile::pullFolder() {
|
||||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
#if defined Q_OS_WIN || defined Q_OS_MAC
|
||||||
_statusLabel->setText("Pulling folder");
|
_statusLabel->setText("Pulling folder");
|
||||||
QString command = _adbCommand + " pull " + _folderLineEdit->text() + " " + _workingFolder + _installerFilename;
|
QString command = _adbCommand + " pull " + _folderLineEdit->text() + " " + _workingFolder + _installerFilename;
|
||||||
system(command.toStdString().c_str());
|
system(command.toStdString().c_str());
|
||||||
|
|
Loading…
Reference in a new issue