diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-27 16:27:22 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-01-27 16:27:22 +0100 |
| commit | 21dada59c2510cc7b040ff812108dff4fd04a06e (patch) | |
| tree | 0852413c239c030e1a19fd5761172887aee2fdac /sb.cpp | |
| parent | 4cca3337d2f48ae69061e7ae3e9389e24dd9cd09 (diff) | |
move smooth scrolling to environment
Diffstat (limited to 'sb.cpp')
| -rw-r--r-- | sb.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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; |