Attempt to reduce fluctations in percentage display
This commit is contained in:
@@ -202,6 +202,7 @@ int main(int argc, char* argv[]) {
|
|||||||
QObject::connect(&onesec, &QTimer::timeout, &app, [] {
|
QObject::connect(&onesec, &QTimer::timeout, &app, [] {
|
||||||
pc_onesec();
|
pc_onesec();
|
||||||
});
|
});
|
||||||
|
onesec.setTimerType(Qt::PreciseTimer);
|
||||||
onesec.start(1000);
|
onesec.start(1000);
|
||||||
if (discord_loaded) {
|
if (discord_loaded) {
|
||||||
QTimer::singleShot(1000, &app, [] {
|
QTimer::singleShot(1000, &app, [] {
|
||||||
|
|||||||
Reference in New Issue
Block a user