forked from qt-creator/qt-creator
Fixes: - Resource editors not restored from session
Details: - Mismatch of kinds in editor and editor factory.
This commit is contained in:
@@ -38,7 +38,6 @@ namespace ResourceEditor {
|
|||||||
namespace Constants {
|
namespace Constants {
|
||||||
|
|
||||||
const char * const C_RESOURCEEDITOR = "Resource Editor";
|
const char * const C_RESOURCEEDITOR = "Resource Editor";
|
||||||
const char * const C_RESOURCEWINDOW = "Resourcewindow";
|
|
||||||
const char * const C_RESOURCE_MIMETYPE = "application/vnd.nokia.xml.qt.resource";
|
const char * const C_RESOURCE_MIMETYPE = "application/vnd.nokia.xml.qt.resource";
|
||||||
|
|
||||||
} // namespace Constants
|
} // namespace Constants
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ bool ResourceEditorFile::save(const QString &name /*= QString()*/)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *ResourceEditorW::kind() const {
|
const char *ResourceEditorW::kind() const {
|
||||||
return ResourceEditor::Constants::C_RESOURCEWINDOW;
|
return ResourceEditor::Constants::C_RESOURCEEDITOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ResourceEditorFile::fileName() const
|
QString ResourceEditorFile::fileName() const
|
||||||
|
|||||||
Reference in New Issue
Block a user