Don't use the system bus anywhere

The system bus is owned by root and should also be on Linux only used
for kernel messages. No user applications should transmit on it.
This commit is contained in:
Roland Winklmeier
2018-07-27 17:02:57 +02:00
committed by Klaus Basan
parent 6a7a9ff710
commit 4d9141fd50

View File

@@ -31,11 +31,7 @@ namespace BlackGui
Q_ASSERT(sGui);
ui->setupUi(this);
// normally no system Bus on Windows
if (CBuildConfig::isRunningOnWindowsNtPlatform() || !sGui->isDeveloperFlagSet())
{
this->setSystemDBusVisible(false);
}
this->setSystemDBusVisible(false);
ui->cb_DBusServerAddress->addItems(CNetworkUtils::getKnownLocalIpV4Addresses());
ui->cb_DBusServerAddress->setCurrentIndex(0);