#6523 The auto hide feature was hidden, so this restores it
This commit is contained in:
parent
dd2c14a0fd
commit
2626c2c4cf
|
@ -207,7 +207,9 @@ void MainWindow::open()
|
|||
{
|
||||
createTrayIcon();
|
||||
|
||||
if (!autoHide()) {
|
||||
if (appConfig().getAutoHide()) {
|
||||
hide();
|
||||
} else {
|
||||
showNormal();
|
||||
}
|
||||
|
||||
|
@ -545,18 +547,6 @@ void MainWindow::checkSecureSocket(const QString& line)
|
|||
secureSocket(true);
|
||||
}
|
||||
}
|
||||
|
||||
bool MainWindow::autoHide()
|
||||
{
|
||||
if ((appConfig().processMode() == Desktop) &&
|
||||
appConfig().getAutoHide()) {
|
||||
hide();
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
QString MainWindow::getTimeStamp()
|
||||
{
|
||||
QDateTime current = QDateTime::currentDateTime();
|
||||
|
|
|
@ -196,7 +196,6 @@ public slots:
|
|||
#ifndef SYNERGY_ENTERPRISE
|
||||
void checkLicense(const QString& line);
|
||||
#endif
|
||||
bool autoHide();
|
||||
QString getTimeStamp();
|
||||
void restartSynergy();
|
||||
void proofreadInfo();
|
||||
|
|
Loading…
Reference in New Issue