chore: add back deprecation warnings and disable all API deprecated before 6.0

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2025-04-18 12:37:54 +03:00
parent 5fee4e3f8b
commit 2271a05b19
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
9 changed files with 15 additions and 12 deletions

View file

@ -724,7 +724,7 @@ void MainWindow::changeActiveAccount()
QAction* sAction = (QAction*)sender();
// Profile's associated Mojang username
if (sAction->data().type() != QVariant::Type::Int)
if (sAction->data().typeId() != QMetaType::Int)
return;
QVariant action_data = sAction->data();