Changeset View
Changeset View
Standalone View
Standalone View
krusader/Locate/locate.cpp
Context not available. | |||||
178 | resultList->setColumnCount(1); | 178 | resultList->setColumnCount(1); | ||
---|---|---|---|---|---|
179 | resultList->setHeaderLabel(i18n("Results")); | 179 | resultList->setHeaderLabel(i18n("Results")); | ||
180 | 180 | | |||
181 | #if QT_VERSION >= QT_VERSION_CHECK(5, 11, 0) | ||||
182 | resultList->setColumnWidth(0, QFontMetrics(resultList->font()).horizontalAdvance("W") * 60); | ||||
183 | #else | ||||
181 | resultList->setColumnWidth(0, QFontMetrics(resultList->font()).width("W") * 60); | 184 | resultList->setColumnWidth(0, QFontMetrics(resultList->font()).width("W") * 60); | ||
185 | #endif | ||||
182 | 186 | | |||
183 | KConfigGroup gl(krConfig, "Look&Feel"); | 187 | KConfigGroup gl(krConfig, "Look&Feel"); | ||
184 | resultList->setFont(gl.readEntry("Filelist Font", _FilelistFont)); | 188 | resultList->setFont(gl.readEntry("Filelist Font", _FilelistFont)); | ||
Context not available. |