diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-08-24 11:31:13 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-08-26 01:13:19 +0200 |
commit | 872e37b2ff59af2f444c191f038366281d9d70d4 (patch) | |
tree | 298fd99fc58d6c9d9c096ed925ec526e9ad426c1 /tests | |
parent | 2cb8568ab2a173fdc4d00d603df236078886802e (diff) |
Implement QAbstractFileIconProvider to use theme and mime databases
This doesn't give useful defaults on all platforms; icon themes are not
provided on platforms other than Linux, and the mime database doesn't
always return user-friendly names based on file names.
However, both icon themes and the mime database can be customized by
application developers by shipping a data file side-by-side with the
application, without the need for reimplementing the provider class.
Change-Id: Ie4b18ac1b861e2da64f01d1f209986b27fbe6bd5
Task-number: QTBUG-66177
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/other/languagechange/tst_languagechange.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/other/languagechange/tst_languagechange.cpp b/tests/auto/other/languagechange/tst_languagechange.cpp index 632039ec5a..c8b9c52a96 100644 --- a/tests/auto/other/languagechange/tst_languagechange.cpp +++ b/tests/auto/other/languagechange/tst_languagechange.cpp @@ -196,9 +196,6 @@ void tst_languageChange::retranslatability_data() << "QFileDialog::Back" << "QFileDialog::Create New Folder" << "QFileDialog::Detail View" -#if !defined(Q_OS_MAC) - << "QFileDialog::File" -#endif << "QFileDialog::Files of type:" << "QFileDialog::Forward" << "QFileDialog::List View" |