X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fapplication.cpp;h=f588fa3714ea44b8a17d63dbd3957923742018da;hp=1bc844a4420c98ccbcfb289ef3db40bedc589013;hb=d2d0056dc4ff51ae814b136ff92c3458dfae27d3;hpb=37b0bd3594a0effb8252c22377f003deafc55b19 diff --git a/pv/application.cpp b/pv/application.cpp index 1bc844a..f588fa3 100644 --- a/pv/application.cpp +++ b/pv/application.cpp @@ -115,14 +115,14 @@ void Application::collect_version_info(shared_ptr context) // Firmware paths l_orig = sr_resourcepaths_get(SR_RESOURCE_FIRMWARE); for (GSList *l = l_orig; l; l = l->next) - fw_path_list_.push_back(QString((char*)l->data)); + fw_path_list_.emplace_back((char*)l->data); g_slist_free_full(l_orig, g_free); // PD paths #ifdef ENABLE_DECODE l_orig = srd_searchpaths_get(); for (GSList *l = l_orig; l; l = l->next) - pd_path_list_.push_back(QString((char*)l->data)); + pd_path_list_.emplace_back((char*)l->data); g_slist_free_full(l_orig, g_free); #endif