diff options
author | 2022-12-19 02:25:44 +0530 | |
---|---|---|
committer | 2022-12-19 02:25:44 +0530 | |
commit | 074b0f987330458698bcea14ac7b141e863600f5 (patch) | |
tree | e132d4a4a92a2ec3369016f701105d6173d86c64 /src/lock.cpp | |
parent | d7f1faee3805f398d08a00ec132de5a8531de3af (diff) | |
download | whatsie-074b0f987330458698bcea14ac7b141e863600f5.tar.gz whatsie-074b0f987330458698bcea14ac7b141e863600f5.zip |
chore: add moreapps widget in lock screenv4.10.3
Diffstat (limited to 'src/lock.cpp')
-rw-r--r-- | src/lock.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lock.cpp b/src/lock.cpp index 62c4604..757e6dd 100644 --- a/src/lock.cpp +++ b/src/lock.cpp @@ -4,6 +4,7 @@ #include <QGraphicsOpacityEffect> #include <QKeyEvent> #include <QPropertyAnimation> +#include "moreapps.h" #include "X11/XKBlib.h" // keep this header at bottom @@ -12,6 +13,15 @@ Lock::Lock(QWidget *parent) : QWidget(parent), ui(new Ui::Lock) { ui->setPass->setEnabled(false); ui->wrong->hide(); + MoreApps *moreApps = + new MoreApps(this, nullptr, "keshavnrj", + QUrl("https://raw.githubusercontent.com/keshavbhatt/appdata/" + "main/moreapps.txt"), + false); + moreApps->setWindowTitle("More Applications by developer"); + moreApps->setFixedHeight(98); + ui->moreAppsLayout->addWidget(moreApps); + passcodeLoginAction = ui->passcodeLogin->addAction( QIcon(":/icons/green_arrow-right-line.png"), QLineEdit::TrailingPosition); passcodeLoginAction->setEnabled(false); |