mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Merge pull request #8557 from jherico/location_bar
Don't show address bar when starting up in a connected state
This commit is contained in:
commit
02afa460ff
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ void ConnectionMonitor::init() {
|
|||
|
||||
_timer.setSingleShot(true);
|
||||
_timer.setInterval(DISPLAY_AFTER_DISCONNECTED_FOR_X_MS);
|
||||
_timer.start();
|
||||
if (!domainHandler.isConnected()) {
|
||||
_timer.start();
|
||||
}
|
||||
|
||||
auto dialogsManager = DependencyManager::get<DialogsManager>();
|
||||
connect(&_timer, &QTimer::timeout, dialogsManager.data(), &DialogsManager::showAddressBar);
|
||||
|
|
Loading…
Reference in a new issue