Skip to content

Commit

Permalink
SKIP_STARTUP_ITEM
Browse files Browse the repository at this point in the history
  • Loading branch information
mhtvsSFrpHdE committed Aug 31, 2022
1 parent 5d00080 commit fec0bc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qpp/prefetch/Source/Core/read_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ bool ReadFile::start_runThreadPool(int rescanInterval)
threadPoolTimeConsumedFormatedString.chop(1);

// Run startup items
#if SKIP_STARTUP_ITEM == false
Startup::startOnce();
#endif

// Increase task count
count_taskComplete++;
Expand Down
3 changes: 3 additions & 0 deletions qpp/prefetch/Source/Define/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

// Add "Test" to tray menu, a handy place to execute some random fancy stuff
#define TEST_TRAY_MENU_ENABLED false

// Misc
#define SKIP_STARTUP_ITEM = false

0 comments on commit fec0bc7

Please sign in to comment.