Skip to content
Snippets Groups Projects
Commit 9bd4ea46 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

qDebug

parent b600f69f
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,7 @@ void Alarmmanager::m_tag_written(QObject *writer) {
QString t = b->target();
static QRegularExpression re("tango://[a-zA-Z0-9\\.\\-_]+:\\d+(.*)/[a-zA-Z0-9\\.\\-_]+");
QRegularExpressionMatch ma = re.match(t);
qDebug() << __PRETTY_FUNCTION__ << "button" << b->objectName() << "captured texts" << ma.capturedTexts();
if(ma.capturedTexts().size() == 2) {
const QString &tgtd = ma.capturedTexts()[1];
printf("current dev is %s target dev is %s\n", qstoc(dev), qstoc(tgtd));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment