diff options
author | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
commit | 1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc (patch) | |
tree | 58cabfa5c0065632b97823b6e6f068c04f1fa2e9 /src/ui/widgets/FilePage.cpp | |
parent | Fix and Modified. (diff) | |
download | GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.tar.gz GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.zip |
Fixed.
1. Fixed known issue in File Operations.
Diffstat (limited to 'src/ui/widgets/FilePage.cpp')
-rw-r--r-- | src/ui/widgets/FilePage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/widgets/FilePage.cpp b/src/ui/widgets/FilePage.cpp index 4b88092b..bb026804 100644 --- a/src/ui/widgets/FilePage.cpp +++ b/src/ui/widgets/FilePage.cpp @@ -53,7 +53,7 @@ FilePage::FilePage(QWidget* parent) : QWidget(parent) { connect(upLevelButton, SIGNAL(clicked(bool)), this, SLOT(slotUpLevel())); QString buttonStyle = - "QPushButton{border:none;background-color:rgba(255, 255, 255,100);}"; + "QPushButton{border:none;background-color:rgba(255, 255, 255, 0);}"; auto upPixmap = QPixmap(":up.png"); upPixmap = @@ -113,7 +113,7 @@ FilePage::FilePage(QWidget* parent) : QWidget(parent) { void FilePage::fileTreeViewItemClicked(const QModelIndex& index) { selectedPath = boost::filesystem::path( dirModel->fileInfo(index).absoluteFilePath().toStdString()); - LOG(INFO) << "FilePage::fileTreeViewItemClicked selectedPath" << selectedPath; + LOG(INFO) << "selected path" << selectedPath; } void FilePage::slotUpLevel() { @@ -129,7 +129,7 @@ void FilePage::slotUpLevel() { pathEdit->setText(mPath.c_str()); slotGoPath(); } - LOG(INFO) << "FilePage::slotUpLevel Current Root mPath" << mPath; + LOG(INFO) << "Current Root mPath" << mPath; emit pathChanged(mPath.c_str()); } } @@ -144,7 +144,7 @@ void FilePage::fileTreeViewItemDoubleClicked(const QModelIndex& index) { dirTreeView->setRootIndex(targetModelIndex); pathEdit->setText(mPath.c_str()); } - LOG(INFO) << "FilePage::fileTreeViewItemDoubleClicked Index mPath" << mPath; + LOG(INFO) << "Index mPath" << mPath; emit pathChanged(mPath.c_str()); } @@ -155,7 +155,7 @@ void FilePage::slotGoPath() { auto fileInfo = QFileInfo(pathEdit->text()); if (fileInfo.isDir() && fileInfo.isReadable() && fileInfo.isExecutable()) { mPath = boost::filesystem::path(fileInfo.filePath().toStdString()); - LOG(INFO) << "FilePage::slotGoPath Set Path" << mPath; + LOG(INFO) << "Set Path" << mPath; dirTreeView->setRootIndex(dirModel->index(fileInfo.filePath())); } else { QMessageBox::critical(this, "Error", |