on xenial help sign in
Adjust line wrapping
commitdff251b0f958b4663889b9f54cf5966769bee2f2 authorMichal Hruby <michal.mhr@gmail.com> dateTue 25 Jun 2013, 16:47 (13 years ago) parent4a23d80
1 file changed+1−2
plugins/Unity/categories.cpp+1−2
plugins/Unity/categories.cpp+1−2
@@ -124,8 +124,7 @@ Categories::data(const QModelIndex& index, int role) const
124124 case RoleContentType:
125125 {
126126 auto hints = QVariant::fromValue(DeeListModel::data(index, 4)).toHash();
127− return hints.contains("content-type") ?
128− hints["content-type"] : QVariant(QString("default"));
127+ return hints.contains("content-type") ? hints["content-type"] : QVariant(QString("default"));
129128 }
130129 case RoleHints:
131130 return QVariant::fromValue(DeeListModel::data(index, 4)); //HINTS