license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / widgets / timestampspinbox.cpp
index 233ff6484f562b9d723a0bd74a9e587c82fc686d..f5d8d0bf5e39ce55ea13f9b7da9b6bdda5b0feaa 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"
@@ -104,8 +103,7 @@ void TimestampSpinBox::on_editingFinished()
                captures.removeFirst(); // remove entire match
                QString str = captures.join("");
                setValue(pv::util::Timestamp(str.toStdString()));
-       }
-       else {
+       } else {
                // replace the malformed entered string with the old value
                updateEdit();
        }