Qt client - added button with menu to change ai mode and ai level in player dialog
#3 Updated by Jacob Nevins 7 months ago
- File 0001-Compile-fix-after-hrm-feature-675927.patch 0001-Compile-fix-after-hrm-feature-675927.patch added
This patch caused a compilation failure on my system (Xubuntu 14.04, Qt 5.2, GCC 4.8).
.../git26/client/gui-qt/plrdlg.cpp: In member function 'void plr_report::toggle_ai_mode()': .../git26/client/gui-qt/plrdlg.cpp:721:56: error: no matching function for call to 'QAction::QAction(char*)' toggle_ai_act = new QAction(_("Toggle AI Mode")); ^
The attached fixes compilation; I don't know if it's the best fix.