1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix profile settings issue from command line, default unencrypt history is Cancel

This commit is contained in:
Dubslow 2015-01-19 22:23:13 -06:00
parent 5ea6e412f8
commit 7aa52ff754
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ int main(int argc, char *argv[])
Settings::getInstance(); // Build our Settings singleton as soon as QApplication is ready, not before
if (parser.isSet("P"))
Settings::getInstance().setCurrentProfile(parser.value("P"));
Settings::getInstance().switchProfile(parser.value("P"));
sodium_init(); // For the auto-updater

View File

@ -126,7 +126,7 @@ void PrivacyForm::onEncryptLogsUpdated()
tr("Old encrypted chat logs", "title"),
tr("Would you like to un-encrypt your chat logs?\nOtherwise they will be deleted."),
QMessageBox::Ok | QMessageBox::No | QMessageBox::Cancel,
QMessageBox::Ok
QMessageBox::Cancel
);
if (button == QMessageBox::Ok)