Skip to content

Commit

Permalink
BUG: Add the Q_OBJECT macro to PacsDeviceModel, needed for translatio…
Browse files Browse the repository at this point in the history
…ns to work properly.
  • Loading branch information
Woundorf committed Apr 14, 2022
1 parent 9b60934 commit e671f88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starviewer/src/inputoutput/pacsdevicemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ namespace udg {
*/
class PacsDeviceModel : public QAbstractTableModel
{
Q_OBJECT // for tr()

public:
/// Columns of this model.
enum Columns { PacsId, AeTitleOrBaseUri, Institution, Description, Default, NumberOfColumns };
Expand Down

0 comments on commit e671f88

Please sign in to comment.