mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
parent
137df132e8
commit
6f7f418ec1
4 changed files with 26 additions and 21 deletions
|
@ -292,7 +292,8 @@ Application::Application(int &argc, char **argv)
|
|||
connect(this, &QGuiApplication::commitDataRequest, this, &Application::shutdownCleanup, Qt::DirectConnection);
|
||||
#endif
|
||||
|
||||
LogMsg(tr("qBittorrent %1 started", "qBittorrent v3.2.0alpha started").arg(QStringLiteral(QBT_VERSION)));
|
||||
LogMsg(tr("qBittorrent %1 started. Process ID: %2", "qBittorrent v3.2.0alpha started")
|
||||
.arg(QStringLiteral(QBT_VERSION), QString::number(QCoreApplication::applicationPid())));
|
||||
if (portableModeEnabled)
|
||||
{
|
||||
LogMsg(tr("Running in portable mode. Auto detected profile folder at: %1").arg(profileDir.toString()));
|
||||
|
@ -944,7 +945,7 @@ int Application::exec()
|
|||
return BaseApplication::exec();
|
||||
}
|
||||
|
||||
bool Application::isRunning()
|
||||
bool Application::hasAnotherInstance() const
|
||||
{
|
||||
return !m_instanceManager->isFirstInstance();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue