We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92912f0 commit e944bbdCopy full SHA for e944bbd
panel.cpp
@@ -429,7 +429,14 @@ void Panel::updateWorkspaces() {
429
}
430
431
else {
432
- static_cast<QPushButton*>(mAppletWidgets["workspace"])->setText(QString::number(visibleDesktop));
+ QString buttonText;
433
+ if (!getConfigValue("showDesktopNames").toBool()) {
434
+ buttonText = QString::number(visibleDesktop);
435
+ }
436
+ else {
437
+ buttonText = KWindowSystem::desktopName(visibleDesktop);
438
439
+ static_cast<QPushButton*>(mAppletWidgets["workspace"])->setText(buttonText);
440
441
442
0 commit comments