Use BMimeType constructor version directly, as suggested by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40403 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c608a3b2bc
commit
46af96832f
@ -100,9 +100,7 @@ TPeopleApp::TPeopleApp()
|
||||
// person mime type from the hard-coded default attributes.
|
||||
|
||||
bool valid = false;
|
||||
BMimeType mime;
|
||||
mime.SetType(B_PERSON_MIMETYPE);
|
||||
|
||||
BMimeType mime(B_PERSON_MIMETYPE);
|
||||
if (mime.IsInstalled()) {
|
||||
BMessage info;
|
||||
if (mime.GetAttrInfo(&info) == B_NO_ERROR) {
|
||||
|
Loading…
Reference in New Issue
Block a user