mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 03:14:44 +00:00
- Fixed a problem in log text color (introduced very recently)
This commit is contained in:
parent
ac9a81985f
commit
5c0f17bf31
@ -190,7 +190,8 @@ void DownloadingTorrents::setInfoBar(QString info, QColor color) {
|
|||||||
infoBar->clear();
|
infoBar->clear();
|
||||||
nbLines = 1;
|
nbLines = 1;
|
||||||
}
|
}
|
||||||
infoBar->append(QString::fromUtf8("<font color='grey'>")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8("</font> - <font color='") + color.rgb() +QString::fromUtf8("'><i>") + info + QString::fromUtf8("</i></font>"));
|
qDebug("Color is %s", color.name().toUtf8().data());
|
||||||
|
infoBar->append(QString::fromUtf8("<font color='grey'>")+ QTime::currentTime().toString(QString::fromUtf8("hh:mm:ss")) + QString::fromUtf8("</font> - <font color='") + color.name() +QString::fromUtf8("'><i>") + info + QString::fromUtf8("</i></font>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void DownloadingTorrents::addFastResumeRejectedAlert(QString name) {
|
void DownloadingTorrents::addFastResumeRejectedAlert(QString name) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user