Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
issakomi committed May 19, 2024
1 parent fb45b95 commit aa78e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions GUI/aliza.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,12 +901,6 @@ void Aliza::add_histogram(ImageVariant * v, QProgressDialog * pb, bool check_set
while (!t->isFinished())
{
delay1(100);
if (pb && pb->wasCanceled())
{
t->exit(0);
lock0 = false;
exit(0);
}
}
t->gen_pixmap();
const QString tmp0 = t->get_error();
Expand Down
4 changes: 2 additions & 2 deletions GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ void MainWindow::dropEvent(QDropEvent * e)
}
if (dcm_thread)
{
disconnect(pb,SIGNAL(canceled()),this,SLOT(exit_null()));
disconnect(pb, SIGNAL(canceled()), this, SLOT(exit_null()));
}
pb->close();
delete pb;
Expand Down Expand Up @@ -1587,7 +1587,7 @@ void MainWindow::load_any()
l.clear();
if (dcm_thread)
{
disconnect(pb,SIGNAL(canceled()),this,SLOT(exit_null()));
disconnect(pb, SIGNAL(canceled()), this, SLOT(exit_null()));
}
pb->close();
delete pb;
Expand Down

0 comments on commit aa78e42

Please sign in to comment.