File indexing completed on 2024-05-19 05:22:19
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "../src/widgets/gravatardownloadpixmapwidget.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 Gravatar::GravatarDownloadPixmapWidget; 0022 w->show(); 0023 int ret = app.exec(); 0024 delete w; 0025 return ret; 0026 }