src/toolsets/filetoolset.cpp

changeset 1432
4cc687851fbb
parent 1428
ece049033adc
equal deleted inserted replaced
1431:2e0e2c696605 1432:4cc687851fbb
88 m_documents->clear(); 88 m_documents->clear();
89 } 89 }
90 90
91 void FileToolset::settings() 91 void FileToolset::settings()
92 { 92 {
93 (new ConfigDialog {m_window})->exec(); 93 ConfigDialog dialog {m_window};
94 connect(&dialog, &ConfigDialog::settingsChanged, m_window, &MainWindow::settingsChanged);
95 dialog.exec();
94 } 96 }
95 97
96 void FileToolset::exit() 98 void FileToolset::exit()
97 { 99 {
98 ::exit(EXIT_SUCCESS); 100 ::exit(EXIT_SUCCESS);

mercurial