mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Follow project coding style. Issue #2192.
This commit is contained in:
@@ -39,11 +39,11 @@
|
||||
#include "iconprovider.h"
|
||||
#include "loglistwidget.h"
|
||||
|
||||
ExecutionLog::ExecutionLog(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::ExecutionLog),
|
||||
m_msgList(new LogListWidget(MAX_LOG_MESSAGES)),
|
||||
m_peerList(new LogListWidget(MAX_LOG_MESSAGES))
|
||||
ExecutionLog::ExecutionLog(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
, ui(new Ui::ExecutionLog)
|
||||
, m_msgList(new LogListWidget(MAX_LOG_MESSAGES))
|
||||
, m_peerList(new LogListWidget(MAX_LOG_MESSAGES))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -57,7 +57,7 @@ ExecutionLog::ExecutionLog(QWidget *parent) :
|
||||
addLogMessage(msg);
|
||||
foreach (const Log::Peer& peer, logger->getPeers())
|
||||
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 &)));
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Log
|
||||
struct Peer;
|
||||
}
|
||||
|
||||
class ExecutionLog : public QWidget
|
||||
class ExecutionLog: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user