Skip to content

Commit

Permalink
Fix: 2023-05-10
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed May 10, 2023
1 parent f2eea11 commit a76bb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dialogmodelinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ DialogModelInfo::~DialogModelInfo()
delete ui;
}

void DialogModelInfo::setData(QIODevice *pDevice, QString sTitle, QStandardItemModel *pModel)
void DialogModelInfo::setData(QIODevice *pDevice, const QString &sTitle, QStandardItemModel *pModel)
{
g_pDevice = pDevice;
g_sTitle = sTitle;
Expand Down
2 changes: 1 addition & 1 deletion dialogmodelinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DialogModelInfo : public QDialog {
explicit DialogModelInfo(QWidget *pParent = nullptr);
~DialogModelInfo();

void setData(QIODevice *pDevice, QString sTitle, QStandardItemModel *pModel);
void setData(QIODevice *pDevice, const QString &sTitle, QStandardItemModel *pModel);

private slots:
void on_pushButtonOK_clicked();
Expand Down

0 comments on commit a76bb05

Please sign in to comment.