Commit 86e9181b authored by Nicolas Fella's avatar Nicolas Fella

tst

parent 032e2d30
......@@ -42,6 +42,8 @@
#include <KPublicTransport/LocationRequest>
#include <KPublicTransport/Manager>
#include <QIcon>
#ifdef Q_OS_ANDROID
Q_DECL_EXPORT
#endif
......@@ -53,6 +55,8 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
#endif
QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << QStringLiteral("/home/nico/myicons"));
QCoreApplication::setApplicationName(QStringLiteral("ktrip"));
QCoreApplication::setOrganizationName(QStringLiteral("KDE"));
QCoreApplication::setOrganizationDomain(QStringLiteral("kde.org"));
......
......@@ -33,7 +33,7 @@ Kirigami.Page
property bool departures: false
actions.main: Kirigami.Action {
icon.name: "system-search-symbolic"
icon.name: "nicesicon"
text: i18nc("@action", "Search")
enabled: Controller.start.name != "" && (Controller.destination.name != "" || departures)
onTriggered: pageStack.push(departures ? Qt.resolvedUrl("DeparturesPage.qml") : Qt.resolvedUrl("ConnectionsPage.qml"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment