Fixed string literals

This commit is contained in:
Anton Gulenko 2017-04-18 16:14:23 +02:00
parent d1310b3337
commit 58463bc3dc
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ Application::Application(int& argc, char** argv)
if (userName.isEmpty()) { if (userName.isEmpty()) {
userName = qgetenv("USERNAME"); userName = qgetenv("USERNAME");
} }
QString identifier = "keepassx2"; QString identifier = "keepassxc";
if (!userName.isEmpty()) { if (!userName.isEmpty()) {
identifier.append("-"); identifier.append("-");
identifier.append(userName); identifier.append(userName);

View File

@ -57,7 +57,7 @@ int main(int argc, char** argv)
// QStandardPaths::writableLocation(QDesktopServices::DataLocation) // QStandardPaths::writableLocation(QDesktopServices::DataLocation)
if (app.isAlreadyRunning()) { if (app.isAlreadyRunning()) {
qWarning() << QCoreApplication::translate("Main", "Another instance of KeePassX 2 is already running.").toUtf8().constData(); qWarning() << QCoreApplication::translate("Main", "Another instance of KeePassXC is already running.").toUtf8().constData();
return 0; return 0;
} }