aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/Decorations.cpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-25 23:17:02 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-25 23:17:02 +0530
commit031b22e0bb0f1d132731aea3776917731a8ab4ce (patch)
tree1c3775d5aba426669a0ea0b8821a7b4b0808aab0 /src/widgets/Decorations.cpp
parent81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7 (diff)
downloadnull-browser-031b22e0bb0f1d132731aea3776917731a8ab4ce.tar.gz
null-browser-031b22e0bb0f1d132731aea3776917731a8ab4ce.zip
Add decorations.*.view lua api + support decoration views for open url
Diffstat (limited to '')
-rw-r--r--src/widgets/Decorations.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/widgets/Decorations.cpp b/src/widgets/Decorations.cpp
index 82c1a65..9df4c23 100644
--- a/src/widgets/Decorations.cpp
+++ b/src/widgets/Decorations.cpp
@@ -15,15 +15,6 @@ Decorations::Decorations(QWidget *content_widget, QWebEngineProfile *profile, QW
decoration_left = new EdgeDecoration(true, profile, this);
decoration_right = new EdgeDecoration(true, profile, this);
- QString content = R"HTML(
- <div>
- Hello world testing testing
- <button>Btn 1</button><button>Btn 2</button>
- </div>
- )HTML";
- decoration_bottom->set_html(content);
- // decoration_bottom->set_enabled(true);
-
auto *vbox = new QVBoxLayout();
vbox->setContentsMargins(0, 0, 0, 0);
vbox->setSpacing(0);