rewrite library to use pdebug

This commit is contained in:
arcan1s
2014-08-13 07:45:00 +04:00
parent 07e07ee777
commit ec8fc79dd7
5 changed files with 149 additions and 145 deletions

View File

@ -963,10 +963,10 @@ void MainWindow::wifiTabContextualMenu(const QPoint &pos)
// actions
QAction *action = menu.exec(ui->tableWidget_main->viewport()->mapToGlobal(pos));
if (action == refreshTable) {
if (debug) qDebug() << PDEBUG << "Refresh WiFi";
if (debug) qDebug() << PDEBUG << ":" << "Refresh WiFi";
updateWifiTab();
} else if (action == startWifi) {
if (debug) qDebug() << PDEBUG << "Start WiFi";
if (debug) qDebug() << PDEBUG << ":" << "Start WiFi";
wifiTabStart();
}
}