Skip to content

Commit

Permalink
Ensure QProgressBars use updated font
Browse files Browse the repository at this point in the history
  • Loading branch information
bdubbs committed Oct 16, 2023
1 parent 7d18301 commit 4a49771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

moc*
*Make*
Qkrellm
src/sysmon-qt
*.sav*
notes
*.swp
Expand Down
2 changes: 2 additions & 0 deletions src/sysmon-qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ void sysmon_qt::setup_cpuLoad()
load = new QProgressBar();
load->setRange( 0, 100 );
load->setValue( 0 );
load->setFont ( font_normal );

// Set palette
QPalette p = load->palette();
Expand Down Expand Up @@ -270,6 +271,7 @@ void sysmon_qt::setup_memory()

memory = new QProgressBar();
memory->setRange( 0, 100 );
memory->setFont ( font_normal );

// set palette
QPalette p = memory->palette();
Expand Down

0 comments on commit 4a49771

Please sign in to comment.