Set application name/organization before loading preferences, minor adjustments to about text
This commit is contained in:
parent
99d0066f1e
commit
4d1dedd46a
@ -73,7 +73,7 @@
|
|||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>LibreVNA it's a Vector Network Analyzer instrument that comes with a set of tools aside of hardware as LibreVNA-GUI application and the firmware that runs over theboard itself. </string>
|
<string><html><head/><body><p>LibreVNA is a Vector Network Analyzer that consists of the hardware, the LibreVNA-GUI (this application) and the firmware/FPGA configuration on the board. </p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -144,7 +144,7 @@
|
|||||||
<enum>Qt::LeftToRight</enum>
|
<enum>Qt::LeftToRight</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p>Pull request are always welcome and this project is always in on-going development. If you have any proposal or feature just go to: <a href="https://github.com/jankae/LibreVNA/issues"><span style=" text-decoration: underline;">LibreVNA issues</span></a></p></body></html></string>
|
<string><html><head/><body><p>Pull request are always welcome as this project is still in on-going development. If you have any proposal or feature, please create an issue or a pull request: <a href="https://github.com/jankae/LibreVNA/issues"><span style=" text-decoration: underline; color:#0000ff;">LibreVNA issues</span></a></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include <complex>
|
#include <complex>
|
||||||
|
|
||||||
static void setApplicationData();
|
|
||||||
|
|
||||||
static QApplication *app;
|
static QApplication *app;
|
||||||
static AppWindow *window;
|
static AppWindow *window;
|
||||||
|
|
||||||
@ -36,17 +34,12 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
app = new QApplication(argc, argv_ext);
|
app = new QApplication(argc, argv_ext);
|
||||||
|
QCoreApplication::setOrganizationName("LibreVNA");
|
||||||
|
QCoreApplication::setApplicationName("LibreVNA-GUI");
|
||||||
window = new AppWindow;
|
window = new AppWindow;
|
||||||
setApplicationData();
|
QCoreApplication::setApplicationVersion(window->getAppVersion() + "-" +
|
||||||
|
window->getAppGitHash().left(9));
|
||||||
signal(SIGINT, sig_handler);
|
signal(SIGINT, sig_handler);
|
||||||
app->exec();
|
app->exec();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setApplicationData()
|
|
||||||
{
|
|
||||||
QCoreApplication::setOrganizationName("LibreVNA");
|
|
||||||
QCoreApplication::setApplicationName("LibreVNA-GUI");
|
|
||||||
QCoreApplication::setApplicationVersion(window->getAppVersion() + "-" +
|
|
||||||
window->getAppGitHash().left(9));
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user