X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=src%2Fapps%2FScosTime%2Fgui.cpp;h=6b4b1163d1278c5ff19852b56fb57600f13c1cb1;hb=54ba529e92fc38a29f5b5dd29cffd1769811bebe;hp=74d980ef58fac19ddc414a0f11e9f93f76d3bdf2;hpb=4e8a8e8bba08252b1976428942a089fd560d19d9;p=evaf
diff --git a/src/apps/ScosTime/gui.cpp b/src/apps/ScosTime/gui.cpp
index 74d980e..6b4b116 100644
--- a/src/apps/ScosTime/gui.cpp
+++ b/src/apps/ScosTime/gui.cpp
@@ -18,7 +18,6 @@
*/
#include "gui.h"
-#include "version.h"
#include
#include
@@ -26,11 +25,10 @@
#include
#include
-#include
+#include
VER_EXPORT_VERSION_INFO()
-Q_EXPORT_PLUGIN2(VER_MODULE_NAME_STR, eVaf::ScosTime::Module)
//-------------------------------------------------------------------
@@ -430,7 +428,7 @@ void Module::dateTimeEdited(QString const & s)
wConvertDateTime->setEnabled(true);
wConvertDateTime->setText(tr("&to ASD", VER_MODULE_NAME_STR));
}
- else if (mDateTime.type() == Internal::DateTime::ISO)
+ else if (mDateTime.type() == Internal::DateTime::ASD)
{
wConvertDateTime->setEnabled(true);
wConvertDateTime->setText(tr("&to ISO", VER_MODULE_NAME_STR));