X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmdictionary%2Fgui%2FSearchBarWidget.cpp;h=9dc1450a528eaf59fc896e850678b2cd498e6941;hb=ac86fa7a460e6fb10126eb63372d18a5dd1e1f4d;hp=95e2543823211f3b77d5eaa8a370452c4ef27064;hpb=f5d6d4c41bd2fb14795308bb0f2edf9b395b75d8;p=mdictionary diff --git a/src/mdictionary/gui/SearchBarWidget.cpp b/src/mdictionary/gui/SearchBarWidget.cpp index 95e2543..9dc1450 100644 --- a/src/mdictionary/gui/SearchBarWidget.cpp +++ b/src/mdictionary/gui/SearchBarWidget.cpp @@ -39,13 +39,13 @@ SearchBarWidget::SearchBarWidget(QWidget *parent) : QWidget(parent) { busyTimer=new QTimer; progressBar = new QDeclarativeView(); - progressBar->setSource(QUrl("src/mdictionary/qml/ProgressBar.qml")); + progressBar->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/ProgressBar.qml")); progressBar->setResizeMode(QDeclarativeView::SizeRootObjectToView); progressBar->setAlignment(Qt::AlignCenter); progressBar->hide(); view= new QDeclarativeView(); - view->setSource(QUrl("src/mdictionary/qml/SearchBarWidget.qml")); + view->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/SearchBarWidget.qml")); view->setResizeMode(QDeclarativeView::SizeRootObjectToView); view->setAlignment(Qt::AlignCenter); view->show();