on xenial help sign in
Remove silly ifdef
commit11d85b7cf74b04d9ee3a9c4496908d78910fecea authorAlbert Astals <albert.astals@canonical.com> dateMon 16 Dec 2013, 17:01 (13 years ago) parentb6bf1bb
1 file changed−4
plugins/DashViews/verticaljournal.cpp−4
plugins/DashViews/verticaljournal.cpp−4
@@ -70,11 +70,7 @@ void VerticalJournal::setModel(QAbstractItemModel *model)
7070 if (!m_delegateModel) {
7171 createDelegateModel();
7272 }
73−#if (QT_VERSION < QT_VERSION_CHECK(5, 1, 0))
74− m_delegateModel->setModel(QVariant::fromValue<QAbstractItemModel *>(model));
75−#else
7673 m_delegateModel->setModel(QVariant::fromValue<QAbstractItemModel *>(model));
77−#endif
7874 // Cleanup the existing items
7975 for (int i = 0; i < m_columnVisibleItems.count(); ++i)
8076 {