From 21dada59c2510cc7b040ff812108dff4fd04a06e Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 27 Jan 2023 16:27:22 +0100 Subject: move smooth scrolling to environment --- sb.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sb.cpp') 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 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; -- cgit v1.2.3-70-g09d2