1
0
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:
Zetok Zalbavar 2015-05-25 09:39:47 +01:00
parent 435b4d98be
commit 1403ee970b
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -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();