From 872e37b2ff59af2f444c191f038366281d9d70d4 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 24 Aug 2020 11:31:13 +0200 Subject: Implement QAbstractFileIconProvider to use theme and mime databases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø --- tests/auto/other/languagechange/tst_languagechange.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/auto/other/languagechange/tst_languagechange.cpp') 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" -- cgit v1.2.3