QmlJSEditor: Use ICore::dialogParent for component dialog

And remove a then unused function.

Change-Id: I85f6db88af060192f3ee2587ba4cb5a55f8860fd
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Eike Ziller
2014-02-07 14:47:35 +01:00
parent 104ec050f2
commit 23274136f6
3 changed files with 2 additions and 10 deletions

View File

@@ -83,7 +83,7 @@ public:
{
QString componentName = m_componentName;
QString path = QFileInfo(fileName()).path();
ComponentNameDialog::go(&componentName, &path, assistInterface()->editor());
ComponentNameDialog::go(&componentName, &path, Core::ICore::dialogParent());
if (componentName.isEmpty() || path.isEmpty())
return;