Commit 96e1fa23 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

SetInitialPinCommand: ensureDialogCreated() shouldn't be const

It's creating the dialog and assigning it to a member.
parent 2313b85a
......@@ -42,7 +42,7 @@ private:
{
}
void ensureDialogCreated() const
void ensureDialogCreated()
{
if (dialog) {
return;
......@@ -140,7 +140,7 @@ SetInitialPinCommand::SetInitialPinCommand(const std::string &serialNumber)
SetInitialPinCommand::~SetInitialPinCommand() {}
QDialog *SetInitialPinCommand::dialog() const
QDialog *SetInitialPinCommand::dialog()
{
d->ensureDialogCreated();
return d->dialog;
......
......@@ -28,7 +28,7 @@ public:
return AnyCardHasNullPin;
}
QDialog *dialog() const;
QDialog *dialog();
private:
void doStart() override;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment