Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.cpp
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Line(s) | 301 | if (!fontInfo.exactMatch()) { | |||
---|---|---|---|---|---|
315 | qCDebug(KonsoleDebug)<<" Selected: "<<newFont.toString(); | 315 | qCDebug(KonsoleDebug)<<" Selected: "<<newFont.toString(); | ||
316 | qCDebug(KonsoleDebug)<<" System : "<<nonMatching; | 316 | qCDebug(KonsoleDebug)<<" System : "<<nonMatching; | ||
317 | } | 317 | } | ||
318 | 318 | | |||
319 | QWidget::setFont(newFont); | 319 | QWidget::setFont(newFont); | ||
320 | fontChange(newFont); | 320 | fontChange(newFont); | ||
321 | } | 321 | } | ||
322 | 322 | | |||
323 | void TerminalDisplay::setFont(const QFont &) | | |||
324 | { | | |||
325 | // ignore font change request if not coming from konsole itself | | |||
326 | } | | |||
327 | | ||||
328 | void TerminalDisplay::increaseFontSize() | 323 | void TerminalDisplay::increaseFontSize() | ||
329 | { | 324 | { | ||
330 | QFont font = getVTFont(); | 325 | QFont font = getVTFont(); | ||
331 | font.setPointSizeF(font.pointSizeF() + 1); | 326 | font.setPointSizeF(font.pointSizeF() + 1); | ||
332 | setVTFont(font); | 327 | setVTFont(font); | ||
333 | } | 328 | } | ||
334 | 329 | | |||
335 | void TerminalDisplay::decreaseFontSize() | 330 | void TerminalDisplay::decreaseFontSize() | ||
▲ Show 20 Lines • Show All 3660 Lines • Show Last 20 Lines |