mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
1 parent
b6bbdee049
commit
0fcd661e13
2 files changed
-15
No files matched your search
@@ -1264,20 +1264,6 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
||||
profiler_start();
|
||||
profile_register_root(run_program_init, 0);
|
||||
|
||||
auto PrintInitProfile = [&]()
|
||||
{
|
||||
auto snap = GetSnapshot();
|
||||
|
||||
profiler_snapshot_filter_roots(snap.get(), [](void *data,
|
||||
const char *name, bool *remove)
|
||||
{
|
||||
*remove = (*static_cast<const char**>(data)) != name;
|
||||
return true;
|
||||
}, static_cast<void*>(&run_program_init));
|
||||
|
||||
profiler_print(snap.get());
|
||||
};
|
||||
|
||||
ScopeProfiler prof{run_program_init};
|
||||
|
||||
QCoreApplication::addLibraryPath(".");
|
||||
|
||||
@@ -1637,7 +1637,6 @@ OBSBasic::~OBSBasic()
|
||||
config_set_int(App()->GlobalConfig(), "General", "LastVersion",
|
||||
LIBOBS_API_VER);
|
||||
|
||||
QRect lastGeom = normalGeometry();
|
||||
QList<int> splitterSizes = ui->mainSplitter->sizes();
|
||||
bool alwaysOnTop = IsAlwaysOnTop(this);
|
||||
|
||||
|
||||
Reference in new issue
Block a user