| 1110 | } |
| 1111 | |
| 1112 | void reader::refreshScreen() { |
| 1113 | if(neverRefresh == true) { |
| 1114 | // Do nothing; "Never refresh" was set |
| 1115 | ; |
| 1116 | } |
| 1117 | else { |
| 1118 | if(pagesTurned >= pageRefreshSetting) { |
| 1119 | // Refreshing the screen |
| 1120 | this->repaint(); |
| 1121 | // Reset count |
| 1122 | pagesTurned = 0; |
| 1123 | } |
| 1124 | } |
| 1125 | } |
| 1126 | |
| 1127 | void reader::on_optionsBtn_clicked() |
| 1128 | { |
nothing calls this directly
no outgoing calls
no test coverage detected