removed unused function, added closing ) to status bar text

This commit is contained in:
lostjared
2017-02-10 14:28:02 -08:00
parent ebb96f49f7
commit 68aae29a05
4 changed files with 2 additions and 8 deletions

BIN
src/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -215,8 +215,6 @@ AC_MainWindow::AC_MainWindow(QWidget *parent) : QMainWindow(parent) {
disp = new DisplayWindow(this);
playback = new Playback();
QObject::connect(playback, SIGNAL(procImage(QImage)), this, SLOT(updateFrame(QImage)));
QObject::connect(playback, SIGNAL(procCameraFrame(void *)), this, SLOT(CameraFrame(void *)));
}
void AC_MainWindow::createControls() {
@@ -790,7 +788,7 @@ void AC_MainWindow::updateFrame(QImage img) {
frame_index++;
QString frame_string;
QTextStream frame_stream(&frame_string);
frame_stream << "(Current/Total Frames/Seconds) - (" << frame_index << "/" << video_frames << "/" << (frame_index/video_fps);
frame_stream << "(Current/Total Frames/Seconds) - (" << frame_index << "/" << video_frames << "/" << (frame_index/video_fps) << ") ";
statusBar()->showMessage(frame_string);
if(take_snapshot == true) {
@@ -814,10 +812,7 @@ void AC_MainWindow::updateFrame(QImage img) {
}
}
void AC_MainWindow::CameraFrame(void *frame) {
}
void AC_MainWindow::help_About() {
QMessageBox::information(this, tr("About Acid Cam"), tr("Written by <b>Jared Bruni</b><br><br><b>Social Media Accounts</b><br><br>\n\n <a href=\"http://github.com/lostjared\">GitHub</a><br>\n<a href=\"http://youtube.com/lostjared\">YouTube</a><br><a href=\"http://instagram.com/lostjared\">Instagram</a><br><a href=\"http://facebook.com/LostSideDead0x\">Facebook</a><br><br>\n"));
QMessageBox::information(this, tr("About Acid Cam"), tr("Written by <b>Jared Bruni</b><br><br><b>Social Media Accounts</b><br><br>\n\n <a href=\"http://github.com/lostjared\">GitHub</a><br>\n<a href=\"http://youtube.com/lostjared\">YouTube</a><br><a href=\"http://instagram.com/lostjared\">Instagram</a><br><a href=\"http://facebook.com/LostSideDead0x\">Facebook</a><a href=\"http://twitter.com/jaredbruni\">Twitter</a><br><br><br>\n"));
}

View File

@@ -84,7 +84,6 @@ public slots:
void timer_Camera();
void timer_Video();
void updateFrame(QImage img);
void CameraFrame(void *frame);
void chk_Clicked();
void cb_SetIndex(int index);
private: