mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Good deal of whitespace fixes and code cleanup.
I just went thru all of subsurface code removing some whitespaces issues and trying to make the code prettyer, I also removed a few QString issues.d Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
9ed933d033
commit
1b9a4f2bf8
11 changed files with 50 additions and 131 deletions
|
@ -38,9 +38,8 @@ void DiveComputerManagementDialog::update()
|
|||
|
||||
void DiveComputerManagementDialog::tryRemove(const QModelIndex& index)
|
||||
{
|
||||
if (index.column() != DiveComputerModel::REMOVE){
|
||||
if (index.column() != DiveComputerModel::REMOVE)
|
||||
return;
|
||||
}
|
||||
|
||||
QMessageBox::StandardButton response = QMessageBox::question(
|
||||
this,
|
||||
|
@ -49,9 +48,8 @@ void DiveComputerManagementDialog::tryRemove(const QModelIndex& index)
|
|||
QMessageBox::Ok | QMessageBox::Cancel
|
||||
);
|
||||
|
||||
if (response == QMessageBox::Ok){
|
||||
if (response == QMessageBox::Ok)
|
||||
model->remove(index);
|
||||
}
|
||||
}
|
||||
|
||||
void DiveComputerManagementDialog::accept()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue