File indexing completed on 2025-01-19 04:47:00
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "adblockfilterdialog.h" 0008 #include <QApplication> 0009 #include <QCommandLineParser> 0010 #include <QStandardPaths> 0011 0012 int main(int argc, char **argv) 0013 { 0014 QApplication app(argc, argv); 0015 QStandardPaths::setTestModeEnabled(true); 0016 QCommandLineParser parser; 0017 parser.addVersionOption(); 0018 parser.addHelpOption(); 0019 parser.process(app); 0020 0021 auto w = new AdblockFilterDialog; 0022 w->loadSettings(); 0023 w->resize(800, 600); 0024 w->show(); 0025 app.exec(); 0026 delete w; 0027 return 0; 0028 }