mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Display console messages on Terminal
- Program seems to be working
This commit is contained in:
parent
1923a51c59
commit
8e39eef7aa
3 changed files with 7 additions and 0 deletions
|
@ -1184,6 +1184,7 @@ void Bittorrent::addConsoleMessage(QString msg, QColor color) {
|
|||
consoleMessages.removeFirst();
|
||||
}
|
||||
consoleMessages.append(QString::fromUtf8("<font color='grey'>")+ QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss")) + QString::fromUtf8("</font> - <font color='") + color.name() +QString::fromUtf8("'><i>") + msg + QString::fromUtf8("</i></font>"));
|
||||
emit newConsoleMessage(QDateTime::currentDateTime().toString("dd/MM/yyyy hh:mm:ss") + " - " + msg);
|
||||
}
|
||||
|
||||
void Bittorrent::addPeerBanMessage(QString ip, bool from_ipfilter) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue