refactor: simplify setting the fallback theme search path, does require sub dirs but we should only need the theme root

refactor: set the Icon theme in deskflow-gui insetead of MainWindow
This commit is contained in:
sithlord48
2025-06-24 15:12:26 -04:00
committed by Nick Bolton
parent cb508f5c3a
commit cf9e2ecf49
3 changed files with 7 additions and 35 deletions

View File

@ -83,12 +83,6 @@ MainWindow::MainWindow()
m_actionRestartCore{new QAction(tr("Rest&art"), this)},
m_actionStopCore{new QAction(tr("S&top"), this)}
{
const auto themeName = QStringLiteral("deskflow-%1").arg(iconMode());
if (QIcon::themeName().isEmpty())
QIcon::setThemeName(themeName);
else
QIcon::setFallbackThemeName(themeName);
ui->setupUi(this);
// Setup Actions