Switch to side-by-side view
--- a/src/utils/appformime.cpp +++ b/src/utils/appformime.cpp @@ -176,7 +176,6 @@ #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <errno.h> #include <string.h> @@ -212,8 +211,7 @@ vector<DesktopDb::AppDef> appdefs; DesktopDb *ddb = DesktopDb::getDb(); if (ddb == 0) { - cerr << "Could not initialize desktop db: " << DesktopDb::getReason() - << endl; + cerr << "Could not create desktop db\n"; exit(1); } if (!ddb->appForMime(mime, &appdefs, &reason)) {