on xenial help sign in
silence some debug
9d954c8Lukáš Tinkl
plugins/Wizard/keyboardLayoutsModel.cpp−2
@@ -107,7 +107,6 @@ void KeyboardLayoutsModel::buildModel()
107 layout.displayName = QString::fromUtf8(display_name);
107 layout.displayName = QString::fromUtf8(display_name);
108
108
109 m_db.append(layout);
109 m_db.append(layout);
110− qDebug() << "DB layout:" << layout.id << ", language:" << layout.language;
111 }
110 }
112 g_list_free(sources);
111 g_list_free(sources);
113
112
@@ -127,7 +126,6 @@ void KeyboardLayoutsModel::updateModel()
127 if (info.language == lang && // filter by language
126 if (info.language == lang && // filter by language
128 (kbdCountry.startsWith(country) || kbdCountry.length() > 2)) { // and by known country, also insert anything that doesn't match the country
127 (kbdCountry.startsWith(country) || kbdCountry.length() > 2)) { // and by known country, also insert anything that doesn't match the country
129 m_layouts.append(info);
128 m_layouts.append(info);
130− qDebug() << "Inserted layout:" << info.id << ", language:" << info.language;
131 }
129 }
132 }
130 }
133
131