aboutsummaryrefslogtreecommitdiff
path: root/sb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sb.cpp')
-rw-r--r--sb.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/sb.cpp b/sb.cpp
index ea9dd84..2de8c55 100644
--- a/sb.cpp
+++ b/sb.cpp
@@ -118,14 +118,7 @@ void help(char *arg0) {
int
main(int argc, char **argv) {
- std::vector<char*> arg(argv, argv + argc);
-
- if (enable_smooth_scrollig)
- arg.emplace_back((char*)"--enable-smooth-scrolling");
-
- int size = arg.size();
-
- QApplication app(size, arg.data());
+ QApplication app(argc, argv);
QWebEngineProfile profile;
WebEnginePage page(&profile);
QProgressBar progressbar;