mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-07-30 16:04:12 +02:00
a0f66d22cc
Clears the 9 non-deprecation warnings from the Qt6 build: - qHash(QColor): hash rgba() (unambiguous QRgb) instead of name(), and use the size_t seed signature on Qt6 (guarded for Qt5). Fixes the ambiguous-overload warning in terminalstripmodel.h. - Two qsizetype->int narrowings in brace-init: explicit static_cast<int> (elementscene.cpp, terminalstrip.cpp). - main.cpp: keep the QtConcurrent::run QFuture in a [[maybe_unused]] variable (nodiscard). - qetapp.cpp: guard the stylesheet load on QFile::open() succeeding (nodiscard) instead of ignoring the result.