diff options
author | Saturn&Eric <[email protected]> | 2021-07-12 09:23:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-12 09:23:37 +0000 |
commit | 1ccc36606b9e4238ea24f36756c5ab3ad43453fe (patch) | |
tree | 72043033991b643a2cce437f22497a961d73a745 /src/ui/widgets/TextEdit.cpp | |
parent | Update Documents; (diff) | |
parent | Project structure adjustment; (diff) | |
download | GpgFrontend-1ccc36606b9e4238ea24f36756c5ab3ad43453fe.tar.gz GpgFrontend-1ccc36606b9e4238ea24f36756c5ab3ad43453fe.zip |
Merge pull request #10 from saturneric/developv1.1.3
Develop Version 1.1.3
Diffstat (limited to 'src/ui/widgets/TextEdit.cpp')
-rw-r--r-- | src/ui/widgets/TextEdit.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp index f06b3a45..c9968565 100644 --- a/src/ui/widgets/TextEdit.cpp +++ b/src/ui/widgets/TextEdit.cpp @@ -37,9 +37,6 @@ TextEdit::TextEdit(QWidget *parent) : QWidget(parent) { layout->setSpacing(0); setLayout(layout); - // Front in same width - this->setFont({"Courier"}); - connect(tabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(removeTab(int))); connect(this, &TextEdit::insertTargetTextPage, this, @@ -73,7 +70,7 @@ void TextEdit::slotNewHelpTab(const QString &title, const QString &path) const { void TextEdit::slotNewFileTab() const { auto *page = new FilePage(qobject_cast<QWidget *>(parent())); - tabWidget->addTab(page, "[File Browser]"); + tabWidget->addTab(page, "[Browser]"); tabWidget->setCurrentIndex(tabWidget->count() - 1); connect(page, SIGNAL(pathChanged(const QString &)), this, SLOT(slotFilePagePathChanged(const QString &))); @@ -646,7 +643,7 @@ void TextEdit::slotFilePagePathChanged(const QString &path) { } else { mPath = tPath; } - mPath.prepend("[File Browser] "); + mPath.prepend("[Browser] "); mPath.append("/"); tabWidget->setTabText(index, mPath); } |