mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Political correctness
This commit is contained in:
parent
f51cd63cff
commit
dddf5b73d4
|
@ -136,7 +136,7 @@ int main(int argc, char *argv[])
|
||||||
AskInstall.setStandardButtons(QMessageBox::Yes|QMessageBox::No);
|
AskInstall.setStandardButtons(QMessageBox::Yes|QMessageBox::No);
|
||||||
AskInstall.setDefaultButton(QMessageBox::Yes);
|
AskInstall.setDefaultButton(QMessageBox::Yes);
|
||||||
|
|
||||||
int AskInstallAttempt = AskInstall.exec(); //Check if user sucks
|
int AskInstallAttempt = AskInstall.exec(); //Actually ask the user
|
||||||
|
|
||||||
if (AskInstallAttempt == QMessageBox::Yes) {
|
if (AskInstallAttempt == QMessageBox::Yes) {
|
||||||
qDebug() << "Installing";
|
qDebug() << "Installing";
|
||||||
|
@ -149,7 +149,7 @@ int main(int argc, char *argv[])
|
||||||
QString sudo = bindir + "/qtox_sudo rsync -avzh --remove-source-file " + appdir + " /Applications/qtox.app";
|
QString sudo = bindir + "/qtox_sudo rsync -avzh --remove-source-file " + appdir + " /Applications/qtox.app";
|
||||||
QString qtox = "open /Applications/qtox.app";
|
QString qtox = "open /Applications/qtox.app";
|
||||||
|
|
||||||
if (fork() != 0) { //uTox grade cheap hack
|
if (fork() != 0) { //cheap hack
|
||||||
return EXIT_UPDATE_MACX; //Note that if we don't do this the update process will get killed. Also, errors just crash it
|
return EXIT_UPDATE_MACX; //Note that if we don't do this the update process will get killed. Also, errors just crash it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user