rewrite private slots

TODO: add more methods to dbusinteraction, check dbus calls
This commit is contained in:
arcan1s
2015-03-02 06:00:42 +03:00
parent 1333967535
commit 25ca2ef1d9
5 changed files with 116 additions and 117 deletions

View File

@ -268,10 +268,13 @@ void MainWindow::closeEvent(QCloseEvent *event)
bool MainWindow::checkExternalApps(const QString apps = QString("all"))
{
if (debug) qDebug() << PDEBUG;
if (debug) qDebug() << PDEBUG << ":" << "Applications" << apps;
if (configuration[QString("SKIPCOMPONENTS")] == QString("true")) return true;
QStringList cmd;
cmd.append("which");
// avoid null-lines arguments
cmd.append("true");
if ((apps == QString("helper")) || (apps == QString("all"))) {
cmd.append(configuration[QString("HELPER_PATH")]);
}