Skip to content

Commit

Permalink
¤ Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dr3mro committed Dec 8, 2022
1 parent ce9e658 commit 6b7ec39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion qtemr/src/sqlbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ bool sqlBase::saveVisitData(sqlBase::visitData vdata)
bool i = saveInvestigationsModel(vdata.ID,vdata.visitDate,vdata.invModel);
if ( !v || !d || !i )
{
mDebug() << v << d <<i ;
mDebug() << "<v:>" << v << " <d:>" << d << " <i:>" <<i ;
emit showMessage("Error","Failed to save visit data");
db.rollback();
return false;
Expand Down
8 changes: 2 additions & 6 deletions qtemr/src/visitsbox.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// This is an open source non-commercial project. Dear PVS-Studio, please check it.

// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

#include "visitsbox.h"
#include "visitsbox.h"
#include "ui_visitsbox.h"

#include "visithelper.h"
Expand Down Expand Up @@ -462,7 +458,7 @@ void visitsBox::on_ButtonDel_clicked()

void visitsBox::closeEvent(QCloseEvent *event)
{
mDebug() << drugsAltered;
//mDebug() << drugsAltered;
if (!visitLoaded)
event->ignore();

Expand Down

0 comments on commit 6b7ec39

Please sign in to comment.