diff --git a/src/services/gmail/gmailentrypoint.cpp b/src/services/gmail/gmailentrypoint.cpp index e2e8e621d..1220a30bd 100755 --- a/src/services/gmail/gmailentrypoint.cpp +++ b/src/services/gmail/gmailentrypoint.cpp @@ -23,16 +23,18 @@ #include "miscellaneous/databasequeries.h" #include "miscellaneous/iconfactory.h" #include "services/gmail/definitions.h" +#include "services/gmail/gmailserviceroot.h" +#include "services/gmail/gui/formeditgmailaccount.h" ServiceRoot* GmailEntryPoint::createNewRoot() const { - return nullptr; + FormEditGmailAccount form_acc(qApp->mainFormWidget()); + + return form_acc.execForCreate(); } QList GmailEntryPoint::initializeSubtree() const { QSqlDatabase database = qApp->database()->connection(QSL("GmailEntryPoint"), DatabaseFactory::FromSettings); - return QList(); - return DatabaseQueries::getGmailAccounts(database); }