mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user