mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Improve error message when profile is alrady used
I.e. don't imply that profile belongs to same user, since it is possible that multiple users are using qTox.
This commit is contained in:
parent
435b4d98be
commit
1403ee970b
|
@ -869,7 +869,7 @@ QByteArray Core::loadToxSave(QString path)
|
|||
{
|
||||
qWarning() << "Profile "<<QFileInfo(path).baseName()<<" is already in use, pick another";
|
||||
GUI::showWarning(tr("Profile already in use"),
|
||||
tr("Your profile is already used by another qTox\n"
|
||||
tr("This profile is already used by another qTox instance\n"
|
||||
"Please select another profile"));
|
||||
QString tmppath = Settings::getInstance().askProfiles();
|
||||
if (tmppath.isEmpty())
|
||||
|
@ -967,7 +967,7 @@ void Core::switchConfiguration(const QString& _profile)
|
|||
{
|
||||
qWarning() << "Profile "<<profile<<" is already in use, pick another";
|
||||
GUI::showWarning(tr("Profile already in use"),
|
||||
tr("Your profile is already used by another qTox instance\n"
|
||||
tr("This profile is already used by another qTox instance\n"
|
||||
"Please select another profile"));
|
||||
do {
|
||||
profile = Settings::getInstance().askProfiles();
|
||||
|
|
Loading…
Reference in New Issue
Block a user