mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4264 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -726,9 +726,10 @@ int ProjectView::cleanProject() {
|
||||
connect(buttons, SIGNAL(rejected()), &clean_dialog, SLOT(reject()));
|
||||
|
||||
int clean_count = 0;
|
||||
if (clean_dialog.exec() == QDialog::Accepted) {
|
||||
if (clean_dialog.exec() == QDialog::Accepted)
|
||||
{
|
||||
if (clean_tbt -> isChecked()) {
|
||||
project_ -> cleanUnusedTitleBlocKTemplates();
|
||||
project_->embeddedTitleBlockTemplatesCollection()->deleteUnusedTitleBlocKTemplates();
|
||||
}
|
||||
if (clean_elements -> isChecked()) {
|
||||
InteractiveMoveElementsHandler *handler = new InteractiveMoveElementsHandler(this);
|
||||
|
||||
Reference in New Issue
Block a user