Snippets for throne 1.3.2 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/vw4sf25hfkvpacxf6x20472myfkggld5-throne-1.3.2.drv.
-
/build/source/src/global/Utils.cpp:173:14: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 173 | file.open(QFile::ReadOnly); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/build/source/src/global/Utils.cpp:179:14: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 179 | file.open(QFile::ReadOnly | QFile::Text); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/src/global/CountryHelper.cpp:12:29: warning: 'static QString QString::fromUcs4(const uint*, qsizetype)' is deprecated: Use char32_t* overload. [-Wdeprecated-declarations] 12 | return QString::fromUcs4(ucs4.data(), countryCode.length()); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/3rdparty/SQLiteCpp/src/sqlite3.c:124685:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-
/build/source/3rdparty/SQLiteCpp/src/sqlite3.c:35365:28: warning: 'strlen' reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
-
/build/source/src/ui/utils/ProfilesFilterProxyModel.cpp:28:25: warning: 'void QSortFilterProxyModel::invalidateRowsFilter()' is deprecated: Use begin/endFilterChange(QSortFilterProxyModel::Direction::Rows) instead [-Wdeprecated-declarations] 28 | invalidateRowsFilter(); | ~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/ui/utils/ProfilesTableView.cpp:79:27: warning: 'QPoint QDropEvent::pos() const' is deprecated: Use position().toPoint() [-Wdeprecated-declarations] 79 | if (event->pos().y() > rect.bottom()) { | ~~~~~~~~~~^~ -
/build/source/src/ui/utils/ProfilesTableView.cpp:86:40: warning: 'Qt::MouseButtons QDropEvent::mouseButtons() const' is deprecated: Use buttons() [-Wdeprecated-declarations] 86 | event->mouseButtons(), | ~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/ui/utils/ProfilesTableView.cpp:87:45: warning: 'Qt::KeyboardModifiers QDropEvent::keyboardModifiers() const' is deprecated: Use modifiers() [-Wdeprecated-declarations] 87 | event->keyboardModifiers() | ~~~~~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/ui/utils/ConnectionsTreeFilterProxyModel.cpp:26:25: warning: 'void QSortFilterProxyModel::invalidateRowsFilter()' is deprecated: Use begin/endFilterChange(QSortFilterProxyModel::Direction::Rows) instead [-Wdeprecated-declarations] 26 | invalidateRowsFilter(); | ~~~~~~~~~~~~~~~~~~~~^~ -
/build/source/src/ui/setting/dialog_basic_settings.cpp:112:43: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 112 | connect(ui->disable_tray, &QCheckBox::stateChanged, this, [=,this](const bool &) { | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_basic_settings.cpp:115:49: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 115 | connect(ui->random_listen_port, &QCheckBox::stateChanged, this, [=,this](const bool &state) | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_basic_settings.cpp:150:43: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 150 | connect(ui->show_sys_dns, &QCheckBox::stateChanged, this, [=] | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_basic_settings.cpp:150:63: warning: implicit capture of 'this' via '[=]' is deprecated in C++20 [-Wdeprecated] 150 | connect(ui->show_sys_dns, &QCheckBox::stateChanged, this, [=] | ^ -
/build/source/src/ui/setting/dialog_basic_settings.cpp:304:41: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 304 | connect(ui->ntp_enable, &QCheckBox::stateChanged, this, [=,this](const bool &state) { | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_manage_routes.cpp:142:33: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 142 | connect(enable, &QCheckBox::stateChanged, tEdit, [=](int state) { | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_manage_routes.cpp:345:45: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 345 | connect(ui->use_dns_object, &QCheckBox::stateChanged, this, [=,this](int state) { | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_manage_routes.cpp:351:37: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 351 | ui->use_dns_object->stateChanged(Qt::Unchecked); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_manage_routes.cpp:425:47: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 425 | connect(ui->dnshijack_enable, &QCheckBox::stateChanged, this, [=,this](bool state) { | ^~~~~~~~~~~~ -
/build/source/src/ui/setting/dialog_manage_routes.cpp:428:46: warning: 'void QCheckBox::stateChanged(int)' is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations] 428 | connect(ui->redirect_enable, &QCheckBox::stateChanged, this, [=,this](bool state) { | ^~~~~~~~~~~~