diff options
| author | Tannin <sherb@gmx.net> | 2016-05-27 14:04:00 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-05-27 14:04:00 +0200 |
| commit | bfbb19099839019c785dc81c83b07dadbd394168 (patch) | |
| tree | e84d45b9e7d58c2f3ab649b919ac93fb5207131e /src/settingsdialog.cpp | |
| parent | c3b7737ae46ad4770532e3380c9ceb6ed4d14cf7 (diff) | |
moved button to switch instance (and to portable mode) to the main window
Diffstat (limited to 'src/settingsdialog.cpp')
| -rw-r--r-- | src/settingsdialog.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index c66cc243..0d86018c 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -217,18 +217,6 @@ void SettingsDialog::on_associateButton_clicked() Settings::instance().registerAsNXMHandler(true); } -void SettingsDialog::on_changeInstanceButton_clicked() -{ - if (QMessageBox::question(this, tr("Are you sure?"), - tr("This will restart MO, continue?"), - QMessageBox::Yes | QMessageBox::Cancel) - == QMessageBox::Yes) { - InstanceManager().clearCurrentInstance(); - this->reject(); - qApp->exit(INT_MAX); - } -} - void SettingsDialog::on_clearCacheButton_clicked() { QDir(Settings::instance().getCacheDirectory()).removeRecursively(); |
