fix autohide on windows and correct a typo in settings ui

This commit is contained in:
walker0643 2018-01-30 16:55:34 -05:00
parent cda6933f10
commit ccb02372bf
3 changed files with 4 additions and 14 deletions

View File

@ -168,7 +168,9 @@ void MainWindow::open()
{
createTrayIcon();
if (!autoHide()) {
if (appConfig().getAutoHide()) {
hide();
} else {
showNormal();
}
@ -470,17 +472,6 @@ void MainWindow::checkFingerprint(const QString& line)
}
}
bool MainWindow::autoHide()
{
if ((appConfig().processMode() == Desktop) &&
appConfig().getAutoHide()) {
hide();
return true;
}
return false;
}
QString MainWindow::getTimeStamp()
{
QDateTime current = QDateTime::currentDateTime();

View File

@ -175,7 +175,6 @@ public slots:
QString getProfileRootForArg();
void checkConnected(const QString& line);
void checkFingerprint(const QString& line);
bool autoHide();
QString getTimeStamp();
void restartBarrier();
void proofreadInfo();

View File

@ -184,7 +184,7 @@
<item row="2" column="0">
<widget class="QCheckBox" name="m_pCheckBoxEnableCrypto">
<property name="text">
<string>Use Enable &amp;SSL</string>
<string>Enable &amp;SSL</string>
</property>
</widget>
</item>