debugged\nadded return key action

This commit is contained in:
2023-01-18 23:12:21 +01:00
parent 13c5c3788f
commit a23ffb6bbe
11 changed files with 846 additions and 160 deletions
+10 -1
View File
@@ -3,12 +3,21 @@
#include <QSettings>
#include <KAboutData>
#include <KDBusService>
#include <QTranslator>
#include <QCommandLineParser>
#include<QTranslator>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QTranslator myappTranslator;
QLocale localeName = QLocale::system();
QString localeFile = "./RsyncUI_" + localeName.name() + ".qm";
if (myappTranslator.load(localeFile))
{
a.installTranslator(&myappTranslator);
}
MainWindow w;
w.show();
return a.exec();