diff --git a/frontend/OBSApp.cpp b/frontend/OBSApp.cpp index 6ade93c5d7ad95..822ed4d036d2f9 100644 --- a/frontend/OBSApp.cpp +++ b/frontend/OBSApp.cpp @@ -928,7 +928,6 @@ OBSApp::OBSApp(int &argc, char **argv, profiler_name_store_t *store) setWindowIcon(QIcon::fromTheme("obs", QIcon(":/res/images/obs.png"))); #endif - setDesktopFileName("com.obsproject.Studio"); pluginManager_ = std::make_unique(); } diff --git a/frontend/obs-main.cpp b/frontend/obs-main.cpp index 93601058f7bf23..b2c352def56c61 100644 --- a/frontend/obs-main.cpp +++ b/frontend/obs-main.cpp @@ -505,6 +505,7 @@ static int run_program(fstream &logFile, int argc, char *argv[]) #ifdef _WIN32 QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); #endif + QGuiApplication::setDesktopFileName("com.obsproject.Studio"); QCoreApplication::addLibraryPath(".");