forked from qt-creator/qt-creator
Provide "Restart Now" functionality
And use it for the plugin dialog and when changing the UI language. Change-Id: Ic767837d2526409f7ec46d7e4612a1499f19459e Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -710,6 +710,11 @@ void ICore::setupScreenShooter(const QString &name, QWidget *w, const QRect &rc)
|
||||
new ScreenShooter(w, name, rc);
|
||||
}
|
||||
|
||||
void ICore::restart()
|
||||
{
|
||||
m_mainwindow->restart();
|
||||
}
|
||||
|
||||
void ICore::saveSettings(SaveSettingsReason reason)
|
||||
{
|
||||
emit m_instance->saveSettingsRequested(reason);
|
||||
|
||||
Reference in New Issue
Block a user