X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fflag.cpp;h=662a6d02d56df89ada5671e4d4b62fe61c8da967;hp=779ea2eec24cd8d5088b2675f9ede6978c682ba1;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=1a2288a1b2479be9001fab6ced8385cfc86c3f69 diff --git a/pv/view/flag.cpp b/pv/view/flag.cpp index 779ea2e..662a6d0 100644 --- a/pv/view/flag.cpp +++ b/pv/view/flag.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include "timemarker.hpp" @@ -30,10 +29,12 @@ #include +using std::enable_shared_from_this; using std::shared_ptr; namespace pv { -namespace view { +namespace views { +namespace TraceView { const QColor Flag::FillColour(0x73, 0xD2, 0x16); @@ -45,7 +46,7 @@ Flag::Flag(View &view, const pv::util::Timestamp& time, const QString &text) : Flag::Flag(const Flag &flag) : TimeMarker(flag.view_, FillColour, flag.time_), - std::enable_shared_from_this(flag) + enable_shared_from_this(flag) { } @@ -108,5 +109,6 @@ void Flag::on_text_changed(const QString &text) view_.time_item_appearance_changed(true, false); } -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv