Permalink
Browse files

XdgDesktopFile: Don't strip quotes

  • Loading branch information...
1 parent 7f0f6ee commit a90b00751362c7ffab3d44c30dcfc3db99e6973a @amoskvin amoskvin committed Jan 5, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 libraries/qtxdg/xdgdesktopfile.cpp
@@ -305,11 +305,6 @@ bool XdgDesktopFileData::read(const QString &prefix)
if (key.isEmpty())
continue;
- // Remove quotes ........................
- if ((value.startsWith('"') && value.endsWith('"')) ||
- (value.startsWith('\'') && value.endsWith('\'')))
- value = value.mid(1, value.length()-2);
-
mItems[section + "/" + key] = QVariant(value);
}

0 comments on commit a90b007

Please sign in to comment.