diff options
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; |