forked from qt-creator/qt-creator
Cmake: Remove dead code
Change-Id: I3e99afd3ce4a39c9ffeb7b7b21b3454e88dffe74 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -80,20 +80,6 @@ using namespace ProjectExplorer;
|
||||
// Open Questions
|
||||
// Who sets up the environment for cl.exe ? INCLUDEPATH and so on
|
||||
|
||||
// Test for form editor (loosely coupled)
|
||||
static inline bool isFormWindowDocument(const QObject *o)
|
||||
{
|
||||
return o && !qstrcmp(o->metaObject()->className(), "Designer::Internal::FormWindowFile");
|
||||
}
|
||||
|
||||
// Return contents of form editor (loosely coupled)
|
||||
static inline QString formWindowEditorContents(const QObject *editor)
|
||||
{
|
||||
const QVariant contentV = editor->property("contents");
|
||||
QTC_ASSERT(contentV.isValid(), return QString());
|
||||
return contentV.toString();
|
||||
}
|
||||
|
||||
/*!
|
||||
\class CMakeProject
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user