|
|
|
@ -157,7 +157,6 @@ int Application::exec(const QStringList ¶ms)
@@ -157,7 +157,6 @@ int Application::exec(const QStringList ¶ms)
|
|
|
|
|
#ifdef DISABLE_GUI |
|
|
|
|
#ifndef DISABLE_WEBUI |
|
|
|
|
Preferences* const pref = Preferences::instance(); |
|
|
|
|
if (pref->isWebUiEnabled()) { |
|
|
|
|
// Display some information to the user
|
|
|
|
|
std::cout << std::endl << "******** " << qPrintable(tr("Information")) << " ********" << std::endl; |
|
|
|
|
std::cout << qPrintable(tr("To control qBittorrent, access the Web UI at http://localhost:%1").arg(QString::number(pref->getWebUiPort()))) << std::endl; |
|
|
|
@ -167,7 +166,6 @@ int Application::exec(const QStringList ¶ms)
@@ -167,7 +166,6 @@ int Application::exec(const QStringList ¶ms)
|
|
|
|
|
std::cout << qPrintable(tr("The Web UI administrator password is still the default one: %1").arg("adminadmin")) << std::endl; |
|
|
|
|
std::cout << qPrintable(tr("This is a security risk, please consider changing your password from program preferences.")) << std::endl; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#endif // DISABLE_WEBUI
|
|
|
|
|
#else |
|
|
|
|
m_window = new MainWindow; |
|
|
|
|