mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Follow project coding style. Issue #2192.
This commit is contained in:
parent
91fc9e69ee
commit
8966bcacea
2 changed files with 45 additions and 45 deletions
|
@ -39,11 +39,11 @@
|
||||||
#include "iconprovider.h"
|
#include "iconprovider.h"
|
||||||
#include "loglistwidget.h"
|
#include "loglistwidget.h"
|
||||||
|
|
||||||
ExecutionLog::ExecutionLog(QWidget *parent) :
|
ExecutionLog::ExecutionLog(QWidget *parent)
|
||||||
QWidget(parent),
|
: QWidget(parent)
|
||||||
ui(new Ui::ExecutionLog),
|
, ui(new Ui::ExecutionLog)
|
||||||
m_msgList(new LogListWidget(MAX_LOG_MESSAGES)),
|
, m_msgList(new LogListWidget(MAX_LOG_MESSAGES))
|
||||||
m_peerList(new LogListWidget(MAX_LOG_MESSAGES))
|
, m_peerList(new LogListWidget(MAX_LOG_MESSAGES))
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ ExecutionLog::ExecutionLog(QWidget *parent) :
|
||||||
addLogMessage(msg);
|
addLogMessage(msg);
|
||||||
foreach (const Log::Peer& peer, logger->getPeers())
|
foreach (const Log::Peer& peer, logger->getPeers())
|
||||||
addPeerMessage(peer);
|
addPeerMessage(peer);
|
||||||
connect(logger, SIGNAL(newLogMessage(const Log::Msg &)), SLOT(addLogMessage(const Logg:Msg &)));
|
connect(logger, SIGNAL(newLogMessage(const Log::Msg &)), SLOT(addLogMessage(const Log::Msg &)));
|
||||||
connect(logger, SIGNAL(newLogPeer(const Log::Peer &)), SLOT(addPeerMessage(const Log::Peer &)));
|
connect(logger, SIGNAL(newLogPeer(const Log::Peer &)), SLOT(addPeerMessage(const Log::Peer &)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ namespace Log
|
||||||
struct Peer;
|
struct Peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExecutionLog : public QWidget
|
class ExecutionLog: public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue