Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F12945033
D4332.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
549 B
Subscribers
None
D4332.diff
View Options
diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp
--- a/src/qt/trafficgraphwidget.cpp
+++ b/src/qt/trafficgraphwidget.cpp
@@ -22,7 +22,7 @@
: QWidget(parent), timer(0), fMax(0.0f), nMins(0), vSamplesIn(),
vSamplesOut(), nLastBytesIn(0), nLastBytesOut(0), clientModel(0) {
timer = new QTimer(this);
- connect(timer, SIGNAL(timeout()), SLOT(updateRates()));
+ connect(timer, &QTimer::timeout, this, &TrafficGraphWidget::updateRates);
}
void TrafficGraphWidget::setClientModel(ClientModel *model) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 17:16 (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5082766
Default Alt Text
D4332.diff (549 B)
Attached To
D4332: Update qt/trafficgraphwidget.cpp with Qt5 connect syntax
Event Timeline
Log In to Comment