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() void PanelConfigView::init()
{ {
setSource(QUrl::fromLocalFile(m_containment->corona()->package().filePath("panelconfigurationui"))); setSource(QUrl::fromLocalFile(m_containment->corona()->kPackage().filePath("panelconfigurationui")));
syncGeometry(); syncGeometry();
syncSlideLocation(); syncSlideLocation();
} }

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

Loading…
Cancel
Save