diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-12-08 13:42:19 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-12-12 10:50:21 +0000 |
commit | 7cba5fc48222b3bd34a0aa77261a7fc452006f35 (patch) | |
tree | 78624c6ca3dd8d90d402fc7618620b15d0b40037 /src/plugins/resourceeditor/qrceditor | |
parent | b2a6899e5687918717545bbb883160bcdf489226 (diff) |
Move RemoveFileDialog to Utils
Change-Id: I88892fc8d43ca3f59598b5b44e0daac0bfb439b5
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/resourceeditor/qrceditor')
-rw-r--r-- | src/plugins/resourceeditor/qrceditor/resourcefile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp index 5e17105cfa..a38a94da52 100644 --- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp +++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp @@ -28,10 +28,10 @@ #include <coreplugin/fileiconprovider.h> #include <coreplugin/fileutils.h> #include <coreplugin/icore.h> -#include <coreplugin/removefiledialog.h> #include <coreplugin/vcsmanager.h> #include <projectexplorer/projectexplorerconstants.h> #include <utils/fileutils.h> +#include <utils/removefiledialog.h> #include <QCoreApplication> #include <QDebug> @@ -1234,7 +1234,7 @@ EntryBackup * RelativeResourceModel::removeEntry(const QModelIndex &index) deleteItem(index); return new FileEntryBackup(*this, prefixIndex.row(), index.row(), fileNameBackup, aliasBackup); } - Core::RemoveFileDialog removeFileDialog(fileNameBackup, Core::ICore::mainWindow()); + Utils::RemoveFileDialog removeFileDialog(fileNameBackup, Core::ICore::mainWindow()); if (removeFileDialog.exec() == QDialog::Accepted) { deleteItem(index); Core::FileUtils::removeFile(fileNameBackup, removeFileDialog.isDeleteFileChecked()); |