From 6a381c05c8c6786be2244e15227bc9d116a7e15a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 11 Mar 2023 13:59:55 +0100 Subject: [PATCH] removed includes of unused libraries and code correction --- mainwindow.cpp | 1 - password.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index a0ca699..148e668 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -822,7 +822,6 @@ bool MainWindow::getUserPassword(Connexion * object) //Slot activated when a file is clicked in the treeview void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadDir) { - QFuture future; QFileDialog dialog; QTreeWidgetItem * itemR; QString path; diff --git a/password.cpp b/password.cpp index 61564c5..faa4831 100644 --- a/password.cpp +++ b/password.cpp @@ -44,7 +44,7 @@ QString getPassword(const QString& name) if(readPass.error()) { - qDebug()<<"KeyHandler~Error reading decrypt Pass. Error: " + readPass.errorString(); + cout << "KeyHandler~Error reading decrypt Pass. Error: " + readPass.errorString() . toStdString() << endl; return ""; } else