File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ namespace {
208
208
QCOMPARE (error.has_value (), true );
209
209
if (error.value () == RpcError::TimedOut) {
210
210
// This is not what we test here but it can happen on some systems
211
- QWARN (" Connection to port 9 timed out instead of being refused" );
211
+ warning (). log (" Connection to port 9 timed out instead of being refused" );
212
212
} else {
213
213
QCOMPARE (error.value (), RpcError::ConnectionError);
214
214
}
@@ -467,7 +467,7 @@ namespace {
467
467
)
468
468
);
469
469
if (!ok) {
470
- QWARN (" Timed out when waiting for response" );
470
+ warning (). log (" Timed out when waiting for response" );
471
471
}
472
472
473
473
if (std::holds_alternative<RpcError>(responseOrError)) {
@@ -508,7 +508,7 @@ namespace {
508
508
)
509
509
);
510
510
if (!ok) {
511
- QWARN (" Timed out when waiting for response" );
511
+ warning (). log (" Timed out when waiting for response" );
512
512
}
513
513
return responseOrError;
514
514
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ namespace tremotesf {
73
73
74
74
SaveWindowStateHandler::~SaveWindowStateHandler () {
75
75
mWindow ->removeEventFilter (this );
76
- mWindow ->setProperty (windowHasSaveStateHandlerProperty, QVariant::Invalid );
76
+ mWindow ->setProperty (windowHasSaveStateHandlerProperty, QVariant{} );
77
77
}
78
78
79
79
bool SaveWindowStateHandler::eventFilter (QObject* watched, QEvent* event) {
You can’t perform that action at this time.
0 commit comments