[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ring-kde] src: profiles: Load the new profile collection
From:       Emmanuel Lepage Vallee <elv1313 () gmail ! com>
Date:       2016-04-23 3:23:14
Message-ID: E1atoA6-00054l-Mq () scm ! kde ! org
[Download RAW message or body]

Git commit 6bf47831303915376e7dbc96cdb329755f50a6e9 by Emmanuel Lepage Vall=
ee.
Committed on 23/04/2016 at 03:24.
Pushed by lepagevalleeemmanuel into branch 'master'.

profiles: Load the new profile collection

I still have to find a workaround for the accounts to display, but
at least the profiles do.

M  +3    -0    src/mainwindow.cpp

http://commits.kde.org/ring-kde/6bf47831303915376e7dbc96cdb329755f50a6e9

diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ef70fab..5e8bafa 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -59,6 +59,7 @@
 #include <localhistorycollection.h>
 #include <localbookmarkcollection.h>
 #include <localrecordingcollection.h>
+#include <localprofilecollection.h>
 =

 //Configurators
 #include "configurator/localhistoryconfigurator.h"
@@ -170,6 +171,8 @@ MainWindow::MainWindow(QWidget* parent)
 =

       CategorizedHistoryModel::instance().addCollection<LocalHistoryCollec=
tion>(LoadOptions::FORCE_ENABLED);
 =

+      ProfileModel::instance().addCollection<LocalProfileCollection>(LoadO=
ptions::FORCE_ENABLED);
+
 #ifdef Q_OS_LINUX
       CertificateModel::instance().addCollection<FolderCertificateCollecti=
on,QString, FlagPack<FolderCertificateCollection::Options>,QString>(
          QStringLiteral("/usr/share/ca-certificates/"),
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic