Skip to content
  • BogDan Vatra's avatar
    Make it easy to set a kit matcher. · cf4ee59c
    BogDan Vatra authored
    
    
    Using a function to set a kit matcher is much easier that crating a new
    class. It also enables an easy way to reuse classes that are using it.
    E.g.
    DeviceProcessesDialog processDialog;
    processDialog.kitChooser()->setKitMatcher([](const Kit* kit) {
       return kit->isValid() && other_checks_with(kit);
    });
    
    Change-Id: I4e2fc7c52038902412cec5331504230bb8160ceb
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
    cf4ee59c