forked from qt-creator/qt-creator
Fixed two dialogs to use the main window as parent
Setting a parent makes sure the dialog is correctly centered and shares the taskbar entry.
This commit is contained in:
@@ -204,7 +204,7 @@ void CodepasterPlugin::fetch()
|
||||
}
|
||||
m_fetcher = new CustomFetcher(serverUrl());
|
||||
|
||||
QDialog dialog;
|
||||
QDialog dialog(ICore::instance()->mainWindow());
|
||||
Ui_PasteSelectDialog ui;
|
||||
ui.setupUi(&dialog);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user