diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-08-10 09:54:19 +0200 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-08-10 09:54:19 +0200 |
| commit | 99c0f738e1d67aa16875110bfb5621bd7ea04e41 (patch) | |
| tree | 8ac12901d852b757544483204e795b12a029a78a /src/main.cpp | |
| parent | 0915fc1494df1cd15fc9c09bbf622f137406c84c (diff) | |
changing parsers
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2dab907..843d66a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,6 +5,7 @@ #include <QStandardPaths> #include <QTimer> +#include "atomchannel.h" #include "constants.h" #include "playground.h" #include "rsshit_db.h" @@ -14,17 +15,6 @@ int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); - // Set up code that uses the Qt event loop here. - // Call a.quit() or a.exit() to quit the application. - // A not very useful example would be including - // #include <QTimer> - // near the top of the file and calling - // QTimer::singleShot(5000, &a, &QCoreApplication::quit); - // which quits the application after 5 seconds. - - // If you do not need a running Qt event loop, remove the call - // to a.exec() or use the Non-Qt Plain C++ Application template. - QFile dbSqliteResource{rsshit::db::dbSqliteResourceFilename}; const auto dataLocation = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); qDebug() << "data location:" << dataLocation; @@ -94,6 +84,8 @@ int main(int argc, char *argv[]) return; } + + qDebug() << "added channel to db:" << channel->link; }); return a.exec(); |
