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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user