mirror of
https://github.com/arcan1s/queued.git
synced 2025-07-14 22:35:48 +00:00
add debug information
This commit is contained in:
@ -88,15 +88,15 @@ int main(int argc, char *argv[])
|
||||
|
||||
// show info and exit
|
||||
if (parser.isSet(infoOption)) {
|
||||
QueuedDebug::enableDebug();
|
||||
auto metadata = QueuedDebug::getBuildData();
|
||||
for (auto &string : metadata)
|
||||
qCInfo(LOG_APP) << string;
|
||||
QDebug(QtMsgType::QtInfoMsg).noquote() << string;
|
||||
return 1;
|
||||
}
|
||||
|
||||
// check if exists
|
||||
if (existingSessionOperation(QString("Active"))) {
|
||||
qCWarning(LOG_APP) << "Another session is active";
|
||||
qWarning() << "Another session is active";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user