Skip to content

Commit 3da5c7c

Browse files
committed
Remove hardcoded white background color for the update check dialog tooltip.
1 parent 22be2a7 commit 3da5c7c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/update_check_results_dialog.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ static const char* kStringReleaseDate = "Release date: ";
3232
static const char* kStringTags = "Tags: ";
3333
static const char* kStringTagsSeparator = ", ";
3434

35-
static const char* kTextBrowserStyleSheet =
36-
"QTextBrowser { background: rgba(255,255,255,0%); } QToolTip { background-color: rgb(248, 248, 220); padding: 1px; }";
37-
3835
UpdateCheckResultsDialog::UpdateCheckResultsDialog(QWidget* parent)
3936
: QDialog(parent)
4037
, ui_(new Ui::UpdateCheckResultsDialog)
@@ -46,7 +43,6 @@ UpdateCheckResultsDialog::UpdateCheckResultsDialog(QWidget* parent)
4643

4744
// Make the background of the textbrowser transparent.
4845
ui_->text_browser_->setAttribute(Qt::WA_TranslucentBackground);
49-
ui_->text_browser_->setStyleSheet(kTextBrowserStyleSheet);
5046

5147
setWindowTitle(kStringDialogTitle);
5248
}

0 commit comments

Comments
 (0)