diff --git a/ChangeLog b/ChangeLog index de1d6a86a9..3ebb200079 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ Bug fixes: - #6976 Fix windows builds - #6979 Manual config error in client mode - #6983 Fix that mac client listens on ipv4 only +- #6992 UI issues and use cases Enhancements: - #6954 Move language selection to advanced section diff --git a/src/gui/res/Synergy.qrc b/src/gui/res/Synergy.qrc index 001e0fc2c9..345e6b7000 100644 --- a/src/gui/res/Synergy.qrc +++ b/src/gui/res/Synergy.qrc @@ -9,7 +9,6 @@ image/about.png image/about-dark.png lang/Languages.xml - icons/16x16/money.png image/spinning-wheel.gif icons/16x16/padlock.png icons/16x16/synergy-transfering.png @@ -21,5 +20,6 @@ icons/64x64/synergy-light-connected.png image/welcome.png icons/64x64/folder.png + fonts/Arial.ttf diff --git a/src/gui/res/fonts/Arial.ttf b/src/gui/res/fonts/Arial.ttf new file mode 100644 index 0000000000..ff0815cd8c Binary files /dev/null and b/src/gui/res/fonts/Arial.ttf differ diff --git a/src/gui/res/icons/16x16/money.png b/src/gui/res/icons/16x16/money.png deleted file mode 100644 index 42c52d05f6..0000000000 Binary files a/src/gui/res/icons/16x16/money.png and /dev/null differ diff --git a/src/gui/src/ActivationDialog.ui b/src/gui/src/ActivationDialog.ui index 86fea30d05..6f67e52b8e 100644 --- a/src/gui/src/ActivationDialog.ui +++ b/src/gui/src/ActivationDialog.ui @@ -30,7 +30,7 @@ - <html><head/><body><p>This can be found on your <a href="https://symless.com/account/?source=gui"><span style=" text-decoration: underline; color:#0000ff;">account</span></a> page.</p></body></html> + <html><head/><body><p>This can be found on your <a href="https://symless.com/account/?source=gui"><span style=" text-decoration: none; color: #4285F4;">account</span></a> page.</p></body></html> true @@ -49,8 +49,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> +</style></head><body style=" font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p></body></html> false @@ -73,20 +73,19 @@ p, li { white-space: pre-wrap; } 8 - + + + font-size: 13px; +font-weight: 700; +padding: 3px 5px; +border-radius: 3px; +background-color: #EC4C47; +color: #ffffff; +top: 3px; + - - :/res/icons/16x16/money.png - - - - - - - <html><head/><body><p>Your trial has expired. <a href="http://symless.com/pricing?src=gui"><span style=" text-decoration: underline; color:#0000ff;">Buy now!</span></a></p></body></html> - true @@ -123,9 +122,7 @@ p, li { white-space: pre-wrap; } m_pTextEditSerialKey - - - + buttonBox diff --git a/src/gui/src/LicenseManager.cpp b/src/gui/src/LicenseManager.cpp index 3b7a3aef62..63056f3fd1 100644 --- a/src/gui/src/LicenseManager.cpp +++ b/src/gui/src/LicenseManager.cpp @@ -174,27 +174,19 @@ LicenseManager::getTrialNotice() const QString Notice; if (m_serialKey.isExpired(::time(0))){ - Notice = "

Your %1 trial has expired. " - "" - "Buy now!

"; - Notice = Notice.arg(LicenseManager::getEditionName(activeEdition())); + Notice = "

" + "Trial expired - " + "Buy now" + "

"; } else{ - Notice = "

%1 day%3 of " - "your %2 trial remain%5. " - "Buy now!" + Notice = "

" + "Trial expires in %1 day%2 - " + "Buy now" "

"; time_t daysLeft = m_serialKey.daysLeft(::time(0)); - Notice = Notice - .arg (daysLeft) - .arg (LicenseManager::getEditionName(activeEdition())) - .arg ((daysLeft == 1) ? "" : "s") - .arg ((daysLeft == 1) ? "s" : ""); + Notice = Notice.arg (daysLeft).arg ((daysLeft == 1) ? "" : "s"); } return Notice; @@ -206,18 +198,15 @@ LicenseManager::getTemporaryNotice() const QString Notice; if (m_serialKey.isExpired(::time(0))) { - Notice = "

Your license has expired. " - "" - "Renew now!

"; + Notice = "

" + "License expired - " + "Renew now" + "

"; } else if (m_serialKey.isExpiring(::time(0))) { - Notice = "

%1 day%2 " - "before your license expires." - "Renew now!" + Notice = "

" + "License expires in %1 day%2 - " + "Renew now" "

"; time_t daysLeft = m_serialKey.daysLeft(::time(0)); diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index fc474c4398..f1d5a1dcbc 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -130,9 +130,9 @@ MainWindow::MainWindow (AppConfig& appConfig, m_pWidgetUpdate->hide(); m_VersionChecker.setApp(appPath(appConfig.synergycName())); - m_pLabelScreenName->setText(appConfig.screenName()); + updateScreenName(); connect(m_AppConfig, SIGNAL(screenNameChanged()), this, SLOT(updateScreenName())); - m_pLabelIpAddresses->setText(getIPAddresses()); + m_pLabelIpAddresses->setText(tr("This computers IP addresses: %1").arg(getIPAddresses())); #if defined(Q_OS_WIN) // ipc must always be enabled, so that we can disable command when switching to desktop mode. @@ -151,7 +151,7 @@ MainWindow::MainWindow (AppConfig& appConfig, setMinimumSize(size()); #endif - m_trialWidget->hide(); + m_trialLabel->hide(); // hide padlock icon secureSocket(false); @@ -1072,7 +1072,7 @@ QString MainWindow::getIPAddresses() // usually 192.168.x.x is a useful ip for the user, so indicate // this by making it bold. if (!hinted && address.isInSubnet(localnet)) { - QString format = "%1"; + QString format = "%1"; result.append(format.arg(address.toString())); hinted = true; } @@ -1143,11 +1143,11 @@ void MainWindow::InvalidLicense() void MainWindow::showLicenseNotice(const QString& notice) { - this->m_trialWidget->hide(); + this->m_trialLabel->hide(); if (!notice.isEmpty()) { this->m_trialLabel->setText(notice); - this->m_trialWidget->show(); + this->m_trialLabel->show(); } setWindowTitle (m_LicenseManager->activeEditionName()); @@ -1351,7 +1351,7 @@ void MainWindow::secureSocket(bool secureSocket) } } -void MainWindow::on_m_pSettingsLink_linkActivated(const QString&) +void MainWindow::on_m_pLabelComputerName_linkActivated(const QString&) { m_pActionSettings->trigger(); } @@ -1374,7 +1374,7 @@ void MainWindow::windowStateChanged() void MainWindow::updateScreenName() { - m_pLabelScreenName->setText(appConfig().screenName()); + m_pLabelComputerName->setText(tr("This computers name: %1 (Preferences)").arg(appConfig().screenName())); serverConfig().updateServerName(); } diff --git a/src/gui/src/MainWindow.h b/src/gui/src/MainWindow.h index 7c59a4aeb8..7980d2ef2b 100644 --- a/src/gui/src/MainWindow.h +++ b/src/gui/src/MainWindow.h @@ -252,7 +252,7 @@ private slots: void on_m_pButtonApply_clicked(); void on_windowShown(); - void on_m_pSettingsLink_linkActivated(const QString &link); + void on_m_pLabelComputerName_linkActivated(const QString &link); void on_m_pLabelFingerprint_linkActivated(const QString& link); void on_m_pComboServerList_currentIndexChanged(const QString &arg1); diff --git a/src/gui/src/MainWindowBase.ui b/src/gui/src/MainWindowBase.ui index 79d3604e15..a65890a582 100644 --- a/src/gui/src/MainWindowBase.ui +++ b/src/gui/src/MainWindowBase.ui @@ -7,7 +7,7 @@ 0 0 720 - 797 + 658 @@ -19,7 +19,7 @@ 720 - 0 + 552 @@ -27,57 +27,12 @@ - - - - - 2 - - - 0 - - - 0 - - - 8 - - - - - - - - :/res/icons/16x16/warning.png - - - - - - - <html><head/><body><p><span style=" font-weight:600;">%1</span> days of your Synergy Pro trial remain. <a href="http://symless.com/pricing?src=gui"><span style=" text-decoration: underline; color:#0000ff;">Buy now!</span></a></p></body></html> - - - true - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - + + 0 + + + 20 + @@ -133,192 +88,51 @@ - - - - 0 - 0 - - + - 582 - 15 + 0 + 0 - 16777215 - 20 + 65535 + 65535 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 135 - 15 - - - - - 135 - 20 - - - - - Arial - true - - - - This computers name: - - - - - - - - 0 - 0 - - - - - 0 - 15 - - - - - 16777215 - 20 - - - - - Arial - - - - - - - Qt::AutoText - - - - - - - - 0 - 15 - - - - - 16777215 - 20 - - - - - Arial - 50 - false - false - - - - - - - <html><head/><body><p style="margin-left: 5px;">(<a href="#"><span style=" text-decoration: none; font-size: 13px; color:#007af4;">Settings</span></a>)</p></body></html> - - - 0 - - - - + + + Arial + true + + + + This computers name: + - - - - 0 - 0 - + + + Qt::Vertical - + + QSizePolicy::Fixed + + - 0 - 20 + 20 + 14 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 20 - - - - - 190 - 16777215 - - - - This computers IP addresses: - - - - - - - - - - - + + + + + + This computers IP addresses: + @@ -332,13 +146,13 @@ 0 - 270 + 0 16777215 - 270 + 16777215 @@ -349,62 +163,45 @@ 0 - 22 + 28 0 - 0 + 8 - - - - 0 - 0 - - + - 340 - 248 + 0 + 250 - - - true - + + + 16777215 + 250 + - QGroupBox::title { - subcontrol-origin: padding; - left: 7px; -} - + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2);; +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); +} - - + + QFrame::StyledPanel - - false + + QFrame::Raised - - false - - - - 9 - + 11 - - 5 - - - 5 - @@ -463,36 +260,29 @@ - - - 6 + + + + 0 + 0 + - - - - - 0 - 0 - - - - - 16777215 - 20 - - - - <html><head/><body><p>TLS/SSL active - <a href="#">view</a></p></body></html> - - - Qt::RichText - - - 20 - - - - + + + 16777215 + 20 + + + + <html><head/><body><p>TLS/SSL active - <a href="#" style="text-decoration:none; color: #4285F4;">view</a></p></body></html> + + + Qt::RichText + + + 20 + + @@ -547,53 +337,33 @@
- - - - 0 - 0 - - + - - 340 - 248 - - - 0 - 0 + 250 - - - true - + + + 16777215 + 250 + - QGroupBox::title { - subcontrol-origin: padding; - left: 7px; -} - + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); +} - - + + QFrame::StyledPanel - - false + + QFrame::Raised - - false - - - - 9 - - - 9 - + 11 @@ -772,16 +542,65 @@ - - - - true - + + + - - Log + + Logs - + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 5 + + + + + + + + + 0 + 0 + + + + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2);; +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); +} + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 8 + + + 8 + + + 8 + + + 8 + @@ -818,9 +637,15 @@ + + 6 + QLayout::SetDefaultConstraint + + 16 + @@ -854,6 +679,58 @@ + + + + + Arial + -1 + 87 + true + + + + false + + + font-size: 13px; +font-weight: 700; +padding: 3px 5px; +border-radius: 3px; +background-color: #EC4C47; +color: #ffffff; +top: 3px; + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + 0 + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 20 + 20 + + + + diff --git a/src/gui/src/QSynergyApplication.cpp b/src/gui/src/QSynergyApplication.cpp index 969d2a4b0e..cc0f837ccf 100644 --- a/src/gui/src/QSynergyApplication.cpp +++ b/src/gui/src/QSynergyApplication.cpp @@ -29,6 +29,12 @@ QSynergyApplication::QSynergyApplication(int& argc, char** argv) : m_Translator(NULL) { s_Instance = this; + + QFontDatabase::addApplicationFont(":/res/fonts/Arial.ttf"); + QFont Arial("Arial"); + Arial.setPixelSize(13); + Arial.setStyleHint(QFont::SansSerif); + setFont(Arial); } QSynergyApplication::~QSynergyApplication() diff --git a/src/gui/src/ScreenSettingsDialog.cpp b/src/gui/src/ScreenSettingsDialog.cpp index 206f079395..ed4d31e260 100644 --- a/src/gui/src/ScreenSettingsDialog.cpp +++ b/src/gui/src/ScreenSettingsDialog.cpp @@ -57,8 +57,6 @@ ScreenSettingsDialog::ScreenSettingsDialog(QWidget* parent, Screen* pScreen,cons m_pCheckBoxNumLock->setChecked(m_pScreen->fix(Screen::NumLock)); m_pCheckBoxScrollLock->setChecked(m_pScreen->fix(Screen::ScrollLock)); m_pCheckBoxXTest->setChecked(m_pScreen->fix(Screen::XTest)); - - resize(400, 625); } void ScreenSettingsDialog::accept() diff --git a/src/gui/src/ScreenSettingsDialogBase.ui b/src/gui/src/ScreenSettingsDialogBase.ui index dbff2c99a7..a1c3b8042c 100644 --- a/src/gui/src/ScreenSettingsDialogBase.ui +++ b/src/gui/src/ScreenSettingsDialogBase.ui @@ -6,20 +6,20 @@ 0 0 - 491 - 751 + 403 + 675 - + 0 - 0 + 1 400 - 600 + 620 @@ -39,72 +39,63 @@ 11 - 6 + 15 - - - - 0 - 0 - + + + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); +} - - - 0 - 0 - + + QFrame::StyledPanel - - + + QFrame::Raised - - - 13 - + - 13 - - - 13 + 15 - 13 + 15 - - - - 14 + + + + + 0 + 0 + - - - - Computer &name - - - m_pLineEditName - - - - - - - - 0 - 0 - - - - 255 - - - - + + Computer &name + + + m_pLineEditName + + - + + + + + 0 + 0 + + + + 255 + + + + - + 0 0 @@ -112,7 +103,7 @@ 0 - 20 + 0 @@ -125,7 +116,7 @@ font-weight: bold; - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter @@ -133,7 +124,7 @@ font-weight: bold; - + Qt::Vertical @@ -143,235 +134,50 @@ font-weight: bold; 20 - 10 + 3 - + 0 0 - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - - true - + + Modifier keys + + + + - QGroupBox::title{ - left: -5px; - top: -3px; + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); } - - &Modifier keys + + QFrame::StyledPanel - - false + + QFrame::Raised - + - 8 + 10 - 8 - - - 0 + 10 8 - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 30 - 20 - - - - - - - - Al&t - - - m_pComboBoxAlt - - - - - - 3 - - - - Shift - - - - - Ctrl - - - - - Alt - - - - - Meta - - - - - Super - - - - - None - - - - - - - - S&uper - - - m_pComboBoxSuper - - - - - - - 4 - - - - Shift - - - - - Ctrl - - - - - Alt - - - - - Meta - - - - - Super - - - - - None - - - - - - - - 1 - - - - Shift - - - - - Ctrl - - - - - Alt - - - - - Meta - - - - - Super - - - - - None - - - - - - - - &Ctrl - - - m_pComboBoxCtrl - - - - - - - - 40 - 16777215 - - - - &Shift - - - m_pComboBoxShift - - - - @@ -421,7 +227,96 @@ font-weight: bold; - + + + + 1 + + + + Shift + + + + + Ctrl + + + + + Alt + + + + + Meta + + + + + Super + + + + + None + + + + + + + + Al&t + + + m_pComboBoxAlt + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 30 + 20 + + + + + + + + &Ctrl + + + m_pComboBoxCtrl + + + + + + + + 40 + 16777215 + + + + &Shift + + + m_pComboBoxShift + + + + 2 @@ -458,11 +353,95 @@ font-weight: bold; + + + + 3 + + + + Shift + + + + + Ctrl + + + + + Alt + + + + + Meta + + + + + Super + + + + + None + + + + + + + + S&uper + + + m_pComboBoxSuper + + + + + + + 4 + + + + Shift + + + + + Ctrl + + + + + Alt + + + + + Meta + + + + + Super + + + + + None + + + +
- + Qt::Vertical @@ -472,71 +451,72 @@ font-weight: bold; 20 - 10 + 3 - + 0 0 - - - 0 - 0 - + + Dead corners defaults - - - true - + + + + + + + 0 + 0 + - QGroupBox::title{ - left: -5px; - top: -3px; + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); } - - &Dead corners defaults + + QFrame::StyledPanel - - false + + QFrame::Raised - + + + QLayout::SetDefaultConstraint + - 10 + 15 - 13 + 15 - + 10 - - 9 - - - - - Bottom-left - - - - - - - Top-right - - - + + + 0 + 0 + + + + + 0 + 0 + + Top-left @@ -544,88 +524,95 @@ font-weight: bold; + + + 0 + 0 + + + + + 0 + 0 + + Bottom-right - - - - - - - 0 - 0 - - - - Corner si&ze - - - m_pSpinBoxSwitchCornerSize - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 8 - 20 - - - - - - - - - 0 - 0 - - - - - 55 - 0 - - - - - - - - - - Qt::Vertical + + + + + 0 + 0 + - + - 20 - 9 + 0 + 0 - + + Top-right + + + 100 + + - - - Qt::Horizontal + + + + 0 + 0 + - + + Corner si&ze + + + m_pSpinBoxSwitchCornerSize + + + + + + + + 0 + 0 + + + - 40 - 20 + 0 + 0 - + + Bottom-left + + + + + + + + 0 + 0 + + + + + 70 + 0 + + + @@ -641,83 +628,101 @@ font-weight: bold; 20 - 10 + 3 - + 0 0 - - - 0 - 0 - - - - - true - + + Fixes + + + + - QGroupBox::title{ - left: -5px; - top: -3px; + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); } - - &Fixes + + QFrame::StyledPanel - - false + + QFrame::Raised - + - 13 + 15 - 13 - - - 6 + 15 - 13 + 16 - - - - Fix SCROLL LOCK key - - - - - Fix CAPS LOCK key + + + 0 + 0 + - - - - - Fix XTest for Xinerama - - - false + CAPS LOCK key + + + 0 + 0 + + - Fix NUM LOCK key + NUM LOCK key + + + + + + + + 0 + 0 + + + + SCROLL LOCK key + + + + + + + + 0 + 0 + + + + XTest for Xinerama + + + false @@ -735,59 +740,108 @@ font-weight: bold; 20 - 10 + 3 - - - true - + 0 0 - - - 0 - 0 - + + Aliases - - - false - + + + + + + + 0 + 0 + - QGroupBox::title{ - left: -5px; - top: -3px; + .QFrame{ +border: 1px solid rgba(192,192,192, 0.2); +border-radius: 4px; +background-color: rgba(192,192,192, 0.1); } - - A&liases + + QFrame::StyledPanel - - false + + QFrame::Raised - - - 0 + + + QLayout::SetDefaultConstraint - - - 0 - + 0 - + + 6 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + + 0 + 0 + + + + + 43 + 20 + + + + Qt::LeftToRight + + + QPushButton#m_pButtonAddAlias{ +left: 30px; +} + + + &Add + + + + + + + 0 + 0 + + 168 @@ -795,15 +849,33 @@ font-weight: bold; - margin-right: 7px; + 255 - + + + + 0 + 0 + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + color: #EC4C47; font-size: 13px; @@ -818,87 +890,15 @@ font-weight: bold; - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 3 - - - - - - - - 0 - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 117 - 20 - - - - - - - - false - - - - 0 - 0 - - - - - 43 - 20 - - - - Qt::LeftToRight - - - QPushButton#m_pButtonAddAlias{ -left: 30px; -} - - - &Add - - - - - - - + + Qt::Vertical 20 - 40 + 0 @@ -906,20 +906,17 @@ left: 30px; - - - 3 - + 0 - - 0 + + 6 - + - + 0 0 @@ -933,78 +930,55 @@ left: 30px; 16777215 - 65 + 16777215 - margin-right: 7px; + QAbstractItemView::ExtendedSelection - - - - Qt::Vertical + + + + false - - QSizePolicy::Fixed + + + 0 + 0 + + + + &Remove + + + + + + + Qt::Horizontal - 20 - 3 + 40 + 0 - - - - 2 - - - 0 - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - false - - - &Remove - - - - - - - + + Qt::Vertical - - QSizePolicy::Preferred - 20 - 5 + 40 @@ -1032,30 +1006,20 @@ left: 30px; + + + 0 + 0 + + Qt::Horizontal - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + QDialogButtonBox::Cancel|QDialogButtonBox::Save - - - - Qt::Vertical - - - QSizePolicy::Preferred - - - - 20 - 8 - - - - diff --git a/src/gui/src/main.cpp b/src/gui/src/main.cpp index 7fe74749b8..4d1fc3fc24 100644 --- a/src/gui/src/main.cpp +++ b/src/gui/src/main.cpp @@ -55,6 +55,7 @@ int main(int argc, char* argv[]) /* Workaround for QTBUG-40332 - "High ping when QNetworkAccessManager is instantiated" */ ::setenv ("QT_BEARER_POLL_TIMEOUT", "-1", 1); #endif + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QCoreApplication::setOrganizationName("Synergy"); QCoreApplication::setOrganizationDomain("http://symless.com/"); QCoreApplication::setApplicationName("Synergy"); diff --git a/src/gui/src/validators/ScreenNameValidator.cpp b/src/gui/src/validators/ScreenNameValidator.cpp index 5df62b883e..3e91307b0e 100644 --- a/src/gui/src/validators/ScreenNameValidator.cpp +++ b/src/gui/src/validators/ScreenNameValidator.cpp @@ -29,7 +29,7 @@ namespace validators ScreenNameValidator::ScreenNameValidator(QLineEdit* parent, QLabel* errors, const ScreenList* pScreens) : LineEditValidator(parent, errors) { - addValidator(std::make_unique("Computer name can't be empty")); + addValidator(std::make_unique("Computer name is required")); addValidator(std::make_unique("Remove spaces")); addValidator(std::make_unique("Remove unsupported characters", QRegExp("[a-z0-9\\._-]{,255}", Qt::CaseInsensitive))); addValidator(std::make_unique("A computer with this name already exists", parent ? parent->text() : "", pScreens));