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:
parent
5ea6e412f8
commit
7aa52ff754
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user