diff --git a/StaticData/authData.xml b/StaticData/authData.xml
new file mode 100644
index 0000000..4e4798a
--- /dev/null
+++ b/StaticData/authData.xml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/StaticData/temp.xml b/StaticData/temp.xml
new file mode 100644
index 0000000..1517caa
--- /dev/null
+++ b/StaticData/temp.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/debug/RRJClient.exe b/debug/RRJClient.exe
index 050bdf5..74485fb 100644
Binary files a/debug/RRJClient.exe and b/debug/RRJClient.exe differ
diff --git a/debug/mainwindow.o b/debug/mainwindow.o
index 6dc32ad..486d1a8 100644
Binary files a/debug/mainwindow.o and b/debug/mainwindow.o differ
diff --git a/debug/moc_mainwindow.o b/debug/moc_mainwindow.o
index e7d476e..64f3df5 100644
Binary files a/debug/moc_mainwindow.o and b/debug/moc_mainwindow.o differ
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 0806f5c..13a5472 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -394,6 +394,17 @@ void MainWindow::checkUpdate()
ui->inlineTextDebug->setText(tr("Проверка обновлений..."));
}
+void MainWindow::keyPressEvent(QKeyEvent *event)
+{
+
+ if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return)
+ {
+ if (ui->loginInputField->text().length() <= 0 || ui->passwordInputField->text() <= 0) return;
+
+ on_loginButton_clicked();
+ }
+}
+
void MainWindow::painting()
{
// QPixmap background(":/resource/SSJ-100.jpg");
diff --git a/mainwindow.h b/mainwindow.h
index 1355d4b..80b4343 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -104,5 +104,8 @@ private:
void loadStaticData();
void bindClient();
void createObjects();
+
+protected:
+ virtual void keyPressEvent(QKeyEvent *event);
};
#endif // MAINWINDOW_H