diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2019-04-17 13:16:02 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2019-04-17 13:16:02 +0200 |
commit | d483e98152c64a2d9a6458f634e3c9f14133b96e (patch) | |
tree | f7c9e5993f8da10c260ebee4e808370fbbf390f4 /src/mainwindow.cpp | |
parent | feeb40740fc2c7362de4e60fd8a785df1af9f7cc (diff) |
Updates and more cleanup
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b58fcb02..1a7f91cb 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -8,8 +8,8 @@ #include "filecontent.h" #include "keygendialog.h" #include "passworddialog.h" -#include "qpushbuttonwithclipboard.h" #include "qpushbuttonasqrcode.h" +#include "qpushbuttonwithclipboard.h" #include "qtpass.h" #include "qtpasssettings.h" #include "settingsconstants.h" @@ -1032,8 +1032,7 @@ void MainWindow::addToGridLayout(int position, const QString &field, } if (QtPassSettings::isUseQrencode()) { - QPushButtonAsQRCode *qrbutton = - new QPushButtonAsQRCode(trimmedValue, this); + QPushButtonAsQRCode *qrbutton = new QPushButtonAsQRCode(trimmedValue, this); connect(qrbutton, &QPushButtonAsQRCode::clicked, m_qtPass, &QtPass::showTextAsQRCode); qrbutton->setStyleSheet("border-style: none ; background: transparent;"); |