Showing the changes to interface/src/ui/BaseLogDialog.cpp (1 of 5 files). Show all
Unified · Split
| @@ -95,7 +95,7 @@ void BaseLogDialog::initControls() { · 94 unmodified lines | ||
| 95 | 95 | connect(_logTextBox, SIGNAL(selectionChanged()), SLOT(updateSelection())); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | −void BaseLogDialog::showEvent(QShowEvent* event) { | |
| 98 | +void BaseLogDialog::showEvent(QShowEvent* event) { | |
| 99 | 99 | showLogData(); |
| 100 | 100 | } |
| 101 | 101 | |
| @@ -124,7 +124,7 @@ void BaseLogDialog::handleSearchTextChanged(QString searchText) { · 22 unmodified lines | ||
| 124 | 124 | if (cursor.hasSelection()) { |
| 125 | 125 | QString selectedTerm = cursor.selectedText(); |
| 126 | 126 | if (selectedTerm == searchText) { |
| 127 | − return; | |
| 127 | + return; | |
| 128 | 128 | } |
| 129 | 129 | } |
| 130 | 130 | |
| @@ -147,7 +147,8 @@ void BaseLogDialog::toggleSearchPrev() { · 16 unmodified lines | ||
| 147 | 147 | if (searchCursor.hasSelection()) { |
| 148 | 148 | QString selectedTerm = searchCursor.selectedText(); |
| 149 | 149 | _logTextBox->find(selectedTerm, QTextDocument::FindBackward); |
| 150 | − } else { | |
| 150 | + } | |
| 151 | + else { | |
| 151 | 152 | handleSearchTextChanged(_searchTextBox->text()); |
| 152 | 153 | } |
| 153 | 154 | } |
| @@ -157,7 +158,8 @@ void BaseLogDialog::toggleSearchNext() { · 3 unmodified lines | ||
| 157 | 158 | if (searchCursor.hasSelection()) { |
| 158 | 159 | QString selectedTerm = searchCursor.selectedText(); |
| 159 | 160 | _logTextBox->find(selectedTerm); |
| 160 | − } else { | |
| 161 | + } | |
| 162 | + else { | |
| 161 | 163 | handleSearchTextChanged(_searchTextBox->text()); |
| 162 | 164 | } |
| 163 | 165 | } |