X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=ad23101308f26360e730b358fb6c2d968c0aa86f;hp=6bf5e74b642466face091a50d80a2acbc9969fe8;hb=fe9f5cdee9e6e16eac1858f7f661516c24f71fa5;hpb=255215b082091aaadd5ef24cfc0880cd81e42272 diff --git a/src/main.cpp b/src/main.cpp index 6bf5e74..ad23101 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,8 @@ */ // Application headers. -#include "mainwindow.h" +#include "helpers/DomainsDatabaseHelper.h" +#include "windows/BrowserWindow.h" // KDE Frameworks headers. #include @@ -78,11 +79,14 @@ 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(); + // Create the main window. - MainWindow *mainWindowPointer = new MainWindow; + BrowserWindow *browserWindowPointer = new BrowserWindow(); // Show the main window. - mainWindowPointer->show(); + browserWindowPointer->show(); // Return the application. return application.exec();