*/
// Application headers.
-#include "mainwindow.h"
+#include "helpers/DomainsDatabaseHelper.h"
+#include "windows/BrowserWindow.h"
// KDE Frameworks headers.
#include <KAboutData>
// 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();