Commit 0cf5044d authored by Simjees Abraham's avatar Simjees Abraham Committed by Friedemann Kleint

Set the parent window correctly for Code paster window.

Task-number: QTCREATORBUG-7050

Change-Id: I0d57535a40b0cb29d90d3a7b753d85613a72ac61
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 81e4216c
......@@ -253,7 +253,7 @@ void CodepasterPlugin::post(QString data, const QString &mimeType)
const QString username = m_settings->username;
PasteView view(m_protocols, mimeType, 0);
PasteView view(m_protocols, mimeType, ICore::mainWindow());
view.setProtocol(m_settings->protocol);
const FileDataList diffChunks = splitDiffToFiles(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment