src/hbcore/utils/hbdeviceprofile.cpp
changeset 28 b7da29130b0e
parent 21 4633027730f5
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
    86             if (deviceProfilesList->at(i).mName == name) {
    86             if (deviceProfilesList->at(i).mName == name) {
    87                 d_ptr->mProfile = deviceProfilesList->at(i);
    87                 d_ptr->mProfile = deviceProfilesList->at(i);
    88                 found = true;
    88                 found = true;
    89             }
    89             }
    90         }
    90         }
    91         if (!found) {
    91         // The !found case is actually normal, just have the default constructed
    92             qWarning() << "Device profile" << name << "not found!";
    92         // profile in that case, no need to raise errors.
    93         }
       
    94     }
    93     }
    95 }
    94 }
    96 
    95 
    97 
    96 
    98 /*!
    97 /*!