package -> kPackage

wilder-5.14
David Edmundson 11 years ago
parent 1dd4642963
commit c7e5e27393
  1. 2
      shell/panelconfigview.cpp
  2. 4
      shell/panelview.cpp

@ -94,7 +94,7 @@ PanelConfigView::~PanelConfigView()
void PanelConfigView::init()
{
setSource(QUrl::fromLocalFile(m_containment->corona()->package().filePath("panelconfigurationui")));
setSource(QUrl::fromLocalFile(m_containment->corona()->kPackage().filePath("panelconfigurationui")));
syncGeometry();
syncSlideLocation();
}

@ -94,7 +94,7 @@ PanelView::PanelView(ShellCorona *corona, QScreen *targetScreen, QWindow *parent
emit m_corona->availableScreenRegionChanged();
});
if (!m_corona->package().isValid()) {
if (!m_corona->kPackage().isValid()) {
qWarning() << "Invalid home screen package";
}
@ -112,7 +112,7 @@ PanelView::PanelView(ShellCorona *corona, QScreen *targetScreen, QWindow *parent
qmlRegisterType<QScreen>();
engine()->rootContext()->setContextProperty("panel", this);
setSource(QUrl::fromLocalFile(m_corona->package().filePath("views", "Panel.qml")));
setSource(QUrl::fromLocalFile(m_corona->kPackage().filePath("views", "Panel.qml")));
PanelShadows::self()->addWindow(this);
}

Loading…
Cancel
Save