Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -c -pipe -O2 -I/usr/local/include/gnuradio -I/usr/local/include -I/usr/local/include -I/usr/local/include/gnuradio -D_REENTRANT -D_REENTRANT -I/usr/include/libusb-1.0 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DVERSION="\"0.0\"" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o dockaudio.o qtgui/dockaudio.cpp
- qtgui/dockaudio.cpp: In member function ‘void DockAudio::on_audioRecButton_clicked(bool)’:
- qtgui/dockaudio.cpp:100: error: ‘currentDateTimeUtc’ is not a member of ‘QDateTime’
- make: *** [dockaudio.o] Error 1
- /*! \brief Record button clicked.
- * \param checked Whether recording is ON or OFF.
- *
- * We use the clicked signal instead of the toggled which allows us to change the
- * state programatically using toggle() without triggering the signal.
- */
- void DockAudio::on_audioRecButton_clicked(bool checked)
- {
- if (checked) {
- // FIXME: option to use local time
- lastAudio = QDateTime::currentDateTimeUtc().toString("gqrx-yyyyMMdd-hhmmss.'wav'");
- // emit signal and start timer
- emit audioRecStarted(lastAudio);
- ui->audioRecButton->setToolTip(tr("Stop audio recorder"));
- ui->audioPlayButton->setEnabled(false); /* prevent playback while recording */
- }
- else {
- ui->audioRecButton->setToolTip(tr("Start audio recorder"));
- emit audioRecStopped();
- ui->audioPlayButton->setEnabled(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement