]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/timestampspinbox.cpp
Don't use Q_EMIT, it's not needed anymore
[pulseview.git] / pv / widgets / timestampspinbox.cpp
index 463a846277d814bcebed936335e18d73a6314f55..21b3d0d7a50c1610a3365bcabbe16730dcca696b 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/>.
  */
 
 #include "timestampspinbox.hpp"
@@ -88,7 +87,7 @@ void TimestampSpinBox::setValue(const pv::util::Timestamp& val)
 
        value_ = val;
        updateEdit();
-       Q_EMIT valueChanged(value_);
+       valueChanged(value_);
 }
 
 void TimestampSpinBox::on_editingFinished()
@@ -117,5 +116,5 @@ void TimestampSpinBox::updateEdit()
        lineEdit()->setText(newtext);
 }
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv