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

List:       kde-commits
Subject:    [calligra] active/src: get rid of useless context properties
From:       Shantanu Tushar <shaan7in () gmail ! com>
Date:       2012-06-11 15:45:09
Message-ID: 20120611154509.B75D8A60BB () git ! kde ! org
[Download RAW message or body]

Git commit c750f5446c699bbdeb95fa29ad1b119d00b68f83 by Shantanu Tushar.
Committed on 11/06/2012 at 17:18.
Pushed by shantanu into branch 'master'.

get rid of useless context properties

M  +0    -5    active/src/MainWindow.cpp

http://commits.kde.org/calligra/c750f5446c699bbdeb95fa29ad1b119d00b68f83

diff --git a/active/src/MainWindow.cpp b/active/src/MainWindow.cpp
index f0011b7..4343381 100644
--- a/active/src/MainWindow.cpp
+++ b/active/src/MainWindow.cpp
@@ -74,11 +74,6 @@ MainWindow::MainWindow (QWidget* parent)
         m_view->engine()->addImportPath (importPath);
     }
 =

-
-    m_view->rootContext()->setContextProperty ("recentFilesModel", QVarian=
t::fromValue (recentFiles));
-    m_view->rootContext()->setContextProperty ("recentTextDocsModel", QVar=
iant::fromValue (recentTextDocs));
-    m_view->rootContext()->setContextProperty ("recentSpreadsheetsModel", =
QVariant::fromValue (recentSpreadsheets));
-    m_view->rootContext()->setContextProperty ("recentPresentationsModel",=
 QVariant::fromValue (recentPresentations));
     m_view->rootContext()->setContextProperty ("mainwindow", this);
 =

     m_view->setSource (QUrl::fromLocalFile (CalligraActive::Global::instal=
lPrefix()
[prev in list] [next in list] [prev in thread] [next in thread] 

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