X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fmain.cpp;fp=src%2Fmain.cpp;h=10ce579ca39829f90c6046fcc0ca560483aaa087;hp=6aa5c51a28c3eaf9c5aa443cd92667a5aa31a17c;hb=cd1c3d0483b9026736fdcb151d90dda872d8a400;hpb=588db73b94af7b596b0e532f4557aa8b6c41f5c3 diff --git a/src/main.cpp b/src/main.cpp index 6aa5c51..10ce579 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,8 @@ */ // Application headers. -#include "helpers/DomainsDatabaseHelper.h" +#include "databases/CookiesDatabase.h" +#include "databases/DomainsDatabase.h" #include "windows/BrowserWindow.h" // KDE Frameworks headers. @@ -80,8 +81,9 @@ int main(int argc, char *argv[]) // Register with D-Bus, allowing multiple instances and allowing the program to run if for some reason the registration fails. KDBusService appDBusService(KDBusService::Multiple | KDBusService::NoExitOnFailure); - // Add the domains database. - DomainsDatabaseHelper::addDatabase(); + // Add the databases. + DomainsDatabase::addDatabase(); + CookiesDatabase::addDatabase(); // Create the main window. BrowserWindow *browserWindowPointer = new BrowserWindow();