1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00

std::string -> QString

This commit is contained in:
Ralf Ramsauer 2015-09-28 17:03:03 +02:00
parent 3d7b6fbe08
commit 8f8d8a75b1
2 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@ QRWidget::QRWidget(QWidget* parent) :
{
}
void QRWidget::setQRData(const std::string &data)
void QRWidget::setQRData(const QString &data)
{
_data = QString::fromStdString(data);
_data = data;
update();
}

View File

@ -9,7 +9,7 @@ class QRWidget : public QWidget
public:
explicit QRWidget(QWidget *parent = nullptr);
void setQRData(const std::string &data);
void setQRData(const QString &data);
private:
QString _data;