aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-08-28 17:33:47 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-08-29 14:10:41 +0200
commit1d5091e48f6df341dbd4436843c25afe25cbf4ce (patch)
tree9151d71b36bcffbba219ef1a0fc4e4f234adbc89 /src/plugins/resourceeditor/qrceditor/resourcefile.cpp
parent7ba0f8a4c42c5db144b599861f38d2e771e0dafe (diff)
Do not use deprecated Qt functionality.
Replace all* remaining deprecated Qt 4 functions with their Qt 5 counterparts. This means we no longer need to define the QT_DISABLE_DEPRECATED_BEFORE macro. This patch is relatively small because most source-compatible changes of this kind have been done before. * The one exception is the QmlDesigner, which uses QWeakPointer in a deprecated way all over the place. Change-Id: Id4b839c6685f3b5bdf2b89137f95231758ec53c7 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/resourceeditor/qrceditor/resourcefile.cpp')
-rw-r--r--src/plugins/resourceeditor/qrceditor/resourcefile.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
index 84a600d097..fcbaac2e65 100644
--- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
+++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp
@@ -547,9 +547,6 @@ void ResourceFile::clearPrefixList()
ResourceModel::ResourceModel(const ResourceFile &resource_file, QObject *parent)
: QAbstractItemModel(parent), m_resource_file(resource_file), m_dirty(false)
{
- // Only action that works for QListWidget and the like.
- setSupportedDragActions(Qt::CopyAction);
-
m_prefixIcon = Core::FileIconProvider::overlayIcon(QStyle::SP_DirIcon,
QIcon(QLatin1String(":/resourceeditor/images/qt_qrc.png")), QSize(16, 16));
}