进度更新

This commit is contained in:
RigoLigo
2021-07-02 20:09:45 +08:00
parent 8579e901d4
commit 9c080f8efb
29 changed files with 604 additions and 67 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "gitver.h"
namespace GitVer
{
const char *DescribeTags()
{
return "@GIT_DESCRIBE@";
}
const char *CommitDate()
{
return "@GIT_COMMIT_DATE_ISO8601@";
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ int main (int argc, char *argv[])
SpkStore store(false, LogPath);
//*((int*)0) = 0;
SpkMsgBox::StaticExec("E", "F");
return QApplication::exec();
}
+8 -1
View File
@@ -1,19 +1,26 @@
#include <spkui_general.h>
#include "dtk/spkdtkplugin.h"
#include <QPluginLoader>
#include <QDir>
#include <QApplication>
#include "spkstore.h"
SpkStore *SpkStore::Instance = nullptr;
SpkStore::SpkStore(bool aCli, QString &aLogPath)
{
mLogger = new SpkLogger(aLogPath);
Q_ASSERT(Instance == nullptr);
Instance = this;
if(aCli)
return;
SpkUi::Initialize();
mMainWindow = new SpkMainWindow;
mMainWindow->show();
}