#include "aboutdialog.h"
#include "resource/ui_strings.h"
#include "build_info.h"
+#include "mainwindow.h"
+#include "emul_state.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent, Qt::Dialog | Qt::WindowStaysOnTopHint)
}
upsideLayout->addWidget(imageLabel);
+ /* Emulator platform version*/
+ QString platformVersion = QString(get_platform_version()).section('-', 1).trimmed();
+
/* SDK version */
QString versionFilePath = QDir(QCoreApplication::applicationDirPath() +
QDir::separator() + SDK_ROOT_PATH + SDK_VERSION_FILE).absolutePath();
*/
QString aboutText =
- "<b>" + QString(EMULATOR_TITLE) + " for " + EMULATOR_BUILD_VER + "</b><p>" +
+ "<b>" + QString(EMULATOR_TITLE) + " for " + platformVersion + "</b><p>" +
ABOUT_SDK_VERSION_TEXT + " : " + sdkVer + "<br>" +
ABOUT_PKG_VERSION_TEXT + " : " + pkgVer + "<br>" +
/* "Snapshot : " + SnapshotName + "<br>" + */
#include "resource/ui_strings.h"
#include "mainwindow.h"
#include "menu/advancedmenuitem.h"
+#include "emul_state.h"
extern "C" {
int get_display_pixel_density(void);
}
QString pkgVer = QString(pkginfo_version).section(':', 1).trimmed();
- insertTableRow(vmInfo, QString(DETAILED_INFO_EMUL_VER), QString(EMULATOR_BUILD_VER) +
+ insertTableRow(vmInfo, QString(DETAILED_INFO_EMUL_VER), QString(get_platform_version()).section('-', 1).trimmed() +
" Release on " + sdkVer + " SDK (" + pkgVer + ")");
/* add double click event listener */
#define UI_STRINGS_H
#define EMULATOR_TITLE "Tizen Emulator"
-#define EMULATOR_BUILD_VER "3.0"
#define SDK_OFFICIAL_NAME "Tizen SDK"
#define SDK_OFFICIAL_URL "https://developer.tizen.org"