forked from qt-creator/qt-creator
Ssh: Move some Ssh specific images from Utils to Ssh
Removing the invalid resources dependency on Utils, cleaning up the Utils images and prevent other places from using such unthemed icons. Change-Id: I78f5cfe1f48d0853c6c3e8822cbb041c232db426 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -166,11 +166,11 @@ QVariant SftpFileSystemModel::data(const QModelIndex &index, int role) const
|
||||
switch (node->fileInfo.type) {
|
||||
case FileTypeRegular:
|
||||
case FileTypeOther:
|
||||
return QIcon(":/utils/images/unknownfile.png");
|
||||
return QIcon(":/ssh/images/unknownfile.png");
|
||||
case FileTypeDirectory:
|
||||
return QIcon(":/utils/images/dir.png");
|
||||
return QIcon(":/ssh/images/dir.png");
|
||||
case FileTypeUnknown:
|
||||
return QIcon(":/utils/images/help.png"); // Shows a question mark.
|
||||
return QIcon(":/ssh/images/help.png"); // Shows a question mark.
|
||||
}
|
||||
}
|
||||
if (index.column() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user