mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 18:26:47 +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() {
|
||||
#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 command = _adbCommand + " devices > " + devicesFullFilename;
|
||||
system(command.toStdString().c_str());
|
||||
|
@ -154,7 +154,7 @@ void TestRunnerMobile::downloadComplete() {
|
|||
}
|
||||
|
||||
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");
|
||||
QString command = _adbCommand + " install -r -d " + _workingFolder + "/" + _installerFilename + " >" + _workingFolder + "/installOutput.txt";
|
||||
system(command.toStdString().c_str());
|
||||
|
@ -163,7 +163,7 @@ void TestRunnerMobile::installAPK() {
|
|||
}
|
||||
|
||||
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");
|
||||
QString command = _adbCommand + " pull " + _folderLineEdit->text() + " " + _workingFolder + _installerFilename;
|
||||
system(command.toStdString().c_str());
|
||||
|
|
Loading…
Reference in a new issue