projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #615 by opening the output stream only if needed
[pulseview.git]
/
pv
/
view
/
ruler.hpp
diff --git
a/pv/view/ruler.hpp
b/pv/view/ruler.hpp
index c93586e169a799d9606ee3ca9666a0cf37ea6c9c..50bbf2cdc0038075d8fbdea98cc0ba2b3af938fa 100644
(file)
--- a/
pv/view/ruler.hpp
+++ b/
pv/view/ruler.hpp
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PULSEVIEW_PV_VIEW_RULER_H
-#define PULSEVIEW_PV_VIEW_RULER_H
+#ifndef PULSEVIEW_PV_VIEW_RULER_H
PP
+#define PULSEVIEW_PV_VIEW_RULER_H
PP
#include <memory>
#include <memory>
@@
-73,12
+73,6
@@
private:
std::shared_ptr<pv::view::ViewItem> get_mouse_over_item(
const QPoint &pt);
std::shared_ptr<pv::view::ViewItem> get_mouse_over_item(
const QPoint &pt);
- /**
- * Drag the dragging items by the delta offset.
- * @param delta the drag offset in pixels.
- */
- void drag_items(const QPoint &delta);
-
private:
void paintEvent(QPaintEvent *event);
private:
void paintEvent(QPaintEvent *event);
@@
-101,4
+95,4
@@
private Q_SLOTS:
} // namespace view
} // namespace pv
} // namespace view
} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_RULER_H
+#endif // PULSEVIEW_PV_VIEW_RULER_H
PP