Added CatPacks

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-06-23 01:37:28 +03:00
parent 05a8232a8f
commit bf95cfb30e
11 changed files with 331 additions and 53 deletions

View File

@@ -924,14 +924,14 @@ void MainWindow::setCatBackground(bool enabled)
view->setStyleSheet(QString(R"(
InstanceView
{
background-image: url(:/backgrounds/%1);
background-image: url(%1);
background-attachment: fixed;
background-clip: padding;
background-position: bottom right;
background-repeat: none;
background-color:palette(base);
})")
.arg(ThemeManager::getCatImage()));
.arg(APPLICATION->getCatPack()));
} else {
view->setStyleSheet(QString());
}