mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-22 22:23:49 +08:00
进度更新
This commit is contained in:
@@ -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
@@ -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
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user