History

initial changes...ready for feedback

RebeccaStankus committed 8 years ago

Commit fe694981 parent 01177505 files · +31 −17Browse files

Showing the changes to interface/src/ui/BaseLogDialog.cpp (1 of 5 files). Show all

Unified · Split

interface/src/ui/BaseLogDialog.cpp+6−4
@@ -95,7 +95,7 @@ void BaseLogDialog::initControls() { · 94 unmodified lines
9595 connect(_logTextBox, SIGNAL(selectionChanged()), SLOT(updateSelection()));
9696 }
9797
98−void BaseLogDialog::showEvent(QShowEvent* event) {
98+void BaseLogDialog::showEvent(QShowEvent* event) {
9999 showLogData();
100100 }
101101
@@ -124,7 +124,7 @@ void BaseLogDialog::handleSearchTextChanged(QString searchText) { · 22 unmodified lines
124124 if (cursor.hasSelection()) {
125125 QString selectedTerm = cursor.selectedText();
126126 if (selectedTerm == searchText) {
127− return;
127+ return;
128128 }
129129 }
130130
@@ -147,7 +147,8 @@ void BaseLogDialog::toggleSearchPrev() { · 16 unmodified lines
147147 if (searchCursor.hasSelection()) {
148148 QString selectedTerm = searchCursor.selectedText();
149149 _logTextBox->find(selectedTerm, QTextDocument::FindBackward);
150− } else {
150+ }
151+ else {
151152 handleSearchTextChanged(_searchTextBox->text());
152153 }
153154 }
@@ -157,7 +158,8 @@ void BaseLogDialog::toggleSearchNext() { · 3 unmodified lines
157158 if (searchCursor.hasSelection()) {
158159 QString selectedTerm = searchCursor.selectedText();
159160 _logTextBox->find(selectedTerm);
160− } else {
161+ }
162+ else {
161163 handleSearchTextChanged(_searchTextBox->text());
162164 }
163165 }