]> sigrok.org Git - pulseview.git/blobdiff - pv/view/flag.hpp
Fix #957 and #874 by implementing the pane splitter
[pulseview.git] / pv / view / flag.hpp
index 1311d4a9eec3dd831d36d3de28af39bed538d353..5dec187c4efa3035c1a36f0926d7225604b8a782 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
 
 #include "timemarker.hpp"
 
+using std::enable_shared_from_this;
+
 class QMenu;
 
 namespace pv {
 namespace views {
 namespace TraceView {
 
-class Flag : public TimeMarker,
-       public std::enable_shared_from_this<Flag>
+class Flag : public TimeMarker, public enable_shared_from_this<Flag>
 {
        Q_OBJECT