Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
0b4dfc9c
Commit
0b4dfc9c
authored
Jan 28, 2009
by
con
Browse files
Fixes: - Resource editors not restored from session
Details: - Mismatch of kinds in editor and editor factory.
parent
0f5de365
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/resourceeditor/resourceeditorconstants.h
View file @
0b4dfc9c
...
@@ -38,7 +38,6 @@ namespace ResourceEditor {
...
@@ -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
...
...
src/plugins/resourceeditor/resourceeditorw.cpp
View file @
0b4dfc9c
...
@@ -161,7 +161,7 @@ bool ResourceEditorFile::save(const QString &name /*= QString()*/)
...
@@ -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_RESOURCE
WINDOW
;
return
ResourceEditor
::
Constants
::
C_RESOURCE
EDITOR
;
}
}
QString
ResourceEditorFile
::
fileName
()
const
QString
ResourceEditorFile
::
fileName
()
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment