huge wip
This commit is contained in:
14
main.cpp
14
main.cpp
@@ -24,16 +24,13 @@
|
||||
#endif
|
||||
#include <settingsdialog.h>
|
||||
#ifdef BUILD_EMAIL_MODE
|
||||
//placeholder
|
||||
// #include <vmime/vmime.hpp>
|
||||
#endif
|
||||
#include <QPushButton>
|
||||
|
||||
#include <utils/base64.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
// EmailParser ep;
|
||||
// ep.parse_file("/home/leca/example_email_receipts/rzd.eml");
|
||||
// return 0;
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
|
||||
std::string program_data_path = get_path_relative_to_home(".local/share/checks_parser");
|
||||
@@ -72,14 +69,5 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
w.show();
|
||||
|
||||
// TODO: move to the window
|
||||
//Settings button setup
|
||||
// QPushButton *settingsButton = w.findChild<QPushButton *>("settings_button");
|
||||
// QObject::connect(settingsButton, &QPushButton::clicked, [&]() {
|
||||
// SettingsDialog d;
|
||||
// d.show();
|
||||
// d.exec();
|
||||
// });
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user