summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-16 18:57:38 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-18 17:25:05 -0500
commitd3fe9ff1faed52da8f647d9294e9ce371b0361e4 (patch)
tree18aee61a71ae07a26d5746a36e48dfc77319cb0d /src/shared/util.h
parent528fa988b54342d3d5372ecf9613b60fc7287613 (diff)
moved TimeThis to uibase
fixed progress bar
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 1d3cce82..2761b64f 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -20,6 +20,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#ifndef UTIL_H
#define UTIL_H
+#include <log.h>
#include <string>
#include <filesystem>
#include <versioninfo.h>
@@ -64,20 +65,6 @@ inline FILETIME ToFILETIME(std::filesystem::file_time_type t)
} // namespace MOShared
-class TimeThis
-{
-public:
- TimeThis(QString what={});
- ~TimeThis();
-
-private:
- using Clock = std::chrono::high_resolution_clock;
-
- QString m_what;
- Clock::time_point m_start;
-};
-
-
enum class Exit
{
None = 0x00,