encrypt overhead fix (33→36, noencrypt_len), mtu default 1280, connmonitor window, total_decrypted for TCP, check.sh
This commit is contained in:
1 parent
9846599086
commit
ca176e1f24
41 files changed
+643
-91
No files matched your search
@@ -155,6 +155,15 @@ ChannelList::ChannelList(DbManager* db, QWidget *parent)
|
||||
|
||||
connect(gearBtn, &QPushButton::clicked, this, [this] { emit settingsRequested(); });
|
||||
|
||||
auto *monitorBtn = new QPushButton(QString::fromUtf8("\xF0\x9F\x94\x8D"), footer); /* 🔍 */
|
||||
monitorBtn->setFixedSize(28, 28);
|
||||
monitorBtn->setToolTip(QString::fromUtf8("Connection Monitor"));
|
||||
monitorBtn->setStyleSheet(
|
||||
"QPushButton { border: none; font-size: 16px; background: transparent; color: gray; }"
|
||||
"QPushButton:hover { color: palette(text); }");
|
||||
fl->addWidget(monitorBtn);
|
||||
connect(monitorBtn, &QPushButton::clicked, this, [this] { emit connMonitorRequested(); });
|
||||
|
||||
fl->addStretch();
|
||||
|
||||
auto *createBtn = new QPushButton("GRP", footer);
|
||||
@@ -222,7 +231,7 @@ void ChannelList::loadChannels() {
|
||||
item->setData(ch.lastMsgAt, ChannelLastMsgAtRole);
|
||||
item->setData(makeChannelIcon(colors[ci % 6], letter), ChannelIconRole);
|
||||
m_model->appendRow(item);
|
||||
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "ChannelList::loadChannels row=%d cid='%s' name='%s' unread=%d lastMsgAt=%lld",
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_DEBUG, "ChannelList::loadChannels row=%d cid='%s' name='%s' unread=%d lastMsgAt=%lld",
|
||||
m_model->rowCount()-1, qPrintable(ch.channelId), qPrintable(ch.name), ch.unreadCount,
|
||||
(long long)ch.lastMsgAt);
|
||||
ci++;
|
||||
@@ -266,7 +275,7 @@ void ChannelList::setChannelPeersOnline(const QString& channelId, int count) {
|
||||
}
|
||||
}
|
||||
if (!found)
|
||||
DEBUG_INFO(DEBUG_CATEGORY_DEBUG, " NOT FOUND in model");
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_DEBUG, " NOT FOUND in model");
|
||||
}
|
||||
|
||||
void ChannelList::setAutoConnectActive(bool active) {
|
||||
|
||||
Reference in new issue
Block a user