diff options
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/accordion_frame.cpp | 4 | ||||
-rw-r--r-- | ui/qt/splash_overlay.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/accordion_frame.cpp b/ui/qt/accordion_frame.cpp index ff8a6a47dd..d7a587711e 100644 --- a/ui/qt/accordion_frame.cpp +++ b/ui/qt/accordion_frame.cpp @@ -60,7 +60,7 @@ void AccordionFrame::animatedShow() return; } - if (strlen (get_conn_cfilter()) < 1) { + if (!display_is_remote()) { QWidget *parent = parentWidget(); if (parent && parent->layout()) { @@ -89,7 +89,7 @@ void AccordionFrame::animatedHide() return; } - if (strlen (get_conn_cfilter()) < 1) { + if (!display_is_remote()) { animation_->setStartValue(frame_height_); animation_->setEndValue(0); animation_->start(); diff --git a/ui/qt/splash_overlay.cpp b/ui/qt/splash_overlay.cpp index 18242ed0ad..4241e869ab 100644 --- a/ui/qt/splash_overlay.cpp +++ b/ui/qt/splash_overlay.cpp @@ -83,7 +83,7 @@ SplashOverlay::SplashOverlay(QWidget *parent) : #ifndef THROTTLE_STARTUP // Check for a remote connection - if (strlen (get_conn_cfilter()) > 0) + if (display_is_remote()) info_update_freq_ = 1000; #endif |