@@ -20,6 +20,13 QIcon itemIcon(const DataSourceItem *dataSource) | |||
|
20 | 20 | // No action |
|
21 | 21 | break; |
|
22 | 22 | } |
|
23 | ||
|
24 | qCWarning(LOG_DataSourceTreeWidgetItem()) | |
|
25 | << QObject::tr("Can't set data source icon : unknown data source type"); | |
|
26 | } | |
|
27 | else { | |
|
28 | qCWarning(LOG_DataSourceTreeWidgetItem()) | |
|
29 | << QObject::tr("Can't set data source icon : the data source is null"); | |
|
23 | 30 | } |
|
24 | 31 | |
|
25 | 32 | // Default cases |
General Comments 0
You need to be logged in to leave comments.
Login now