]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.hpp
TraceView: Fix variable name
[pulseview.git] / pv / view / view.hpp
index 0412c697ba1db0aea118760618fb1fd99c97c04d..42cbe3c2155cb494d184330491b35f1c8ebf6e34 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_VIEW_HPP
@@ -424,7 +423,10 @@ private:
        QTimer lazy_event_handler_;
 
        // This is true when the defaults couldn't be set due to insufficient info
-       bool scroll_needs_defaults;
+       bool scroll_needs_defaults_;
+
+       // A nonzero value indicates the v offset to restore. See View::resizeEvent()
+       int saved_v_offset_;
 };
 
 } // namespace TraceView