X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;fp=pv%2Fmainwindow.cpp;h=799f10d4b7c3bb7d3f8ccabd70e319df988ec990;hp=2823adc0ec08e1f9f3f341ef7e52415c506471b0;hb=feda6c6bbde575242cf01c769c0ecd3e89f9f7a0;hpb=0672b79b535b5044d703515d1ad83bfd03d288bc diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 2823adc0..799f10d4 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -146,7 +146,7 @@ shared_ptr MainWindow::add_view(views::ViewType type, // Only use the view type in the name if it's not the main view QString title; if (main_bar) - title = QString("%1 (%2)").arg(session.name()).arg(views::ViewTypeNames[type]); + title = QString("%1 (%2)").arg(session.name(), views::ViewTypeNames[type]); else title = session.name();