Changeset View
Changeset View
Standalone View
Standalone View
src/qtplatformdependent.cpp
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 81 | { | |||
---|---|---|---|---|---|
89 | } | 89 | } | ||
90 | 90 | | |||
91 | return m_threadNamHash[ currThread ]; | 91 | return m_threadNamHash[ currThread ]; | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | // TODO actually save and restore providers! | 94 | // TODO actually save and restore providers! | ||
95 | QList<QUrl> Attica::QtPlatformDependent::getDefaultProviderFiles() const | 95 | QList<QUrl> Attica::QtPlatformDependent::getDefaultProviderFiles() const | ||
96 | { | 96 | { | ||
97 | return QList<QUrl>(); | 97 | // Return the defaultiest default provider (since that's what our documentation says we'll do) | ||
98 | return QList<QUrl>{QUrl(QStringLiteral("https://autoconfig.kde.org/ocs/providers.xml"))}; | ||||
98 | } | 99 | } | ||
99 | 100 | | |||
100 | void QtPlatformDependent::addDefaultProviderFile(const QUrl &) | 101 | void QtPlatformDependent::addDefaultProviderFile(const QUrl &) | ||
101 | { | 102 | { | ||
102 | qWarning() << "attica-qt does not support default providers yet"; | 103 | qWarning() << "attica-qt does not support default providers yet"; | ||
103 | } | 104 | } | ||
104 | 105 | | |||
105 | void QtPlatformDependent::removeDefaultProviderFile(const QUrl &) | 106 | void QtPlatformDependent::removeDefaultProviderFile(const QUrl &) | ||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |