X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fmain.cpp;h=10ce579ca39829f90c6046fcc0ca560483aaa087;hb=fb2760a23bc59d63c74e18c92628ef03ccd8bf3a;hp=6aa5c51a28c3eaf9c5aa443cd92667a5aa31a17c;hpb=5daa7af456c7daa05b1a055932b5156ed1f88b00;p=PrivacyBrowserPC.git 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();