Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #910460

S2_6/S3_0 Qt: Deprecated qVariantFromValue()

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Replace deprecated qVariantFromValue() use with QVariant::fromValue()

../../../../src/client/gui-qt/diplodlg.cpp: In member function ‘void diplo_wdg::show_menu(int)’:
../../../../src/client/gui-qt/diplodlg.cpp:369:59: warning: ‘QVariant qVariantFromValue(const T&) [with T = void*]’ is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
369 | qvar = qVariantFromValue((void *) adv_iter.value());


Related issues

Blocks Freeciv - Bug #896335: Qt deprecation warnings in S2_6/S3_0 when --enable-debug NOT usedClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist 7 months ago

  • Blocks Bug #896335: Qt deprecation warnings in S2_6/S3_0 when --enable-debug NOT used added

#3 Updated by Marko Lindqvist 7 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF