752 |
default: |
default: |
753 |
appendMessagesColor(tr("LSCP Event: %1 data: %2") |
appendMessagesColor(tr("LSCP Event: %1 data: %2") |
754 |
.arg(::lscp_event_to_text(pLscpEvent->event())) |
.arg(::lscp_event_to_text(pLscpEvent->event())) |
755 |
.arg(pLscpEvent->data()), Qt::darkMagenta); |
.arg(pLscpEvent->data()), "#996699"); |
756 |
} |
} |
757 |
} |
} |
758 |
} |
} |
1032 |
!= LSCP_OK) { |
!= LSCP_OK) { |
1033 |
appendMessagesColor(QString("%1(%2): %3") |
appendMessagesColor(QString("%1(%2): %3") |
1034 |
.arg(QFileInfo(sFilename).fileName()).arg(iLine) |
.arg(QFileInfo(sFilename).fileName()).arg(iLine) |
1035 |
.arg(sCommand.simplified()), Qt::darkYellow); |
.arg(sCommand.simplified()), "#996633"); |
1036 |
appendMessagesClient("lscp_client_query"); |
appendMessagesClient("lscp_client_query"); |
1037 |
iErrors++; |
iErrors++; |
1038 |
} |
} |
2555 |
|
|
2556 |
appendMessagesColor(s + QString(": %1 (errno=%2)") |
appendMessagesColor(s + QString(": %1 (errno=%2)") |
2557 |
.arg(::lscp_client_get_result(m_pClient)) |
.arg(::lscp_client_get_result(m_pClient)) |
2558 |
.arg(::lscp_client_get_errno(m_pClient)), Qt::darkRed); |
.arg(::lscp_client_get_errno(m_pClient)), "#996666"); |
2559 |
|
|
2560 |
// Make it look responsive...:) |
// Make it look responsive...:) |
2561 |
QApplication::processEvents(QEventLoop::ExcludeUserInputEvents); |
QApplication::processEvents(QEventLoop::ExcludeUserInputEvents); |
2907 |
args.removeAt(0); |
args.removeAt(0); |
2908 |
|
|
2909 |
appendMessages(tr("Server is starting...")); |
appendMessages(tr("Server is starting...")); |
2910 |
appendMessagesColor(m_pOptions->sServerCmdLine, Qt::darkMagenta); |
appendMessagesColor(m_pOptions->sServerCmdLine, "#990099"); |
2911 |
|
|
2912 |
// Go linuxsampler, go... |
// Go linuxsampler, go... |
2913 |
m_pServer->start(sCommand, args); |
m_pServer->start(sCommand, args); |