Changeset View
Changeset View
Standalone View
Standalone View
mainwindow.cpp
Show First 20 Lines • Show All 521 Lines • ▼ Show 20 Line(s) | 494 | } else { | |||
---|---|---|---|---|---|
522 | 522 | | |||
523 | if (m_systemTrayIcon) m_systemTrayIcon->setAssociatedWidget(m_fullscreenWindow); | 523 | if (m_systemTrayIcon) m_systemTrayIcon->setAssociatedWidget(m_fullscreenWindow); | ||
524 | 524 | | |||
525 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setIcon(QIcon::fromTheme(QStringLiteral("view-restore"))); | 525 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setIcon(QIcon::fromTheme(QStringLiteral("view-restore"))); | ||
526 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setText(i18n("Switch to Window Mode")); | 526 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setText(i18n("Switch to Window Mode")); | ||
527 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setIconText(i18n("Window Mode")); | 527 | actionCollection()->action(QStringLiteral("switch_fullscreen"))->setIconText(i18n("Window Mode")); | ||
528 | showRemoteViewToolbar(); | 528 | showRemoteViewToolbar(); | ||
529 | } | 529 | } | ||
530 | if (m_tabWidget->currentWidget() == m_newConnectionWidget) { | 530 | if (m_tabWidget->currentWidget() == m_newConnectionWidget && m_addressInput) { | ||
531 | m_addressInput->setFocus(); | 531 | m_addressInput->setFocus(); | ||
532 | } | 532 | } | ||
533 | } | 533 | } | ||
534 | 534 | | |||
535 | QScrollArea *MainWindow::createScrollArea(QWidget *parent, RemoteView *remoteView) | 535 | QScrollArea *MainWindow::createScrollArea(QWidget *parent, RemoteView *remoteView) | ||
536 | { | 536 | { | ||
537 | RemoteViewScrollArea *scrollArea = new RemoteViewScrollArea(parent); | 537 | RemoteViewScrollArea *scrollArea = new RemoteViewScrollArea(parent); | ||
538 | scrollArea->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); | 538 | scrollArea->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); | ||
▲ Show 20 Lines • Show All 667 Lines • Show Last 20 Lines |