Use system file type specific icons in contents tab

The icon is determined via QFileIconProvider using filename extension only.
This commit is contained in:
Eugene Shalygin
2016-12-30 01:14:13 +01:00
parent 8318f72a9e
commit 30bf6e958f
5 changed files with 56 additions and 5 deletions

View File

@@ -14,6 +14,9 @@ find_package(LibtorrentRasterbar REQUIRED)
list(APPEND QBT_QT_COMPONENTS Core Network Xml)
if (GUI)
list (APPEND QBT_QT_COMPONENTS Concurrent Gui Widgets)
if (WIN32)
list (APPEND QBT_QT_COMPONENTS WinExtras)
endif(WIN32)
endif (GUI)
if (DBUS)
list (APPEND QBT_QT_COMPONENTS DBus)