From: Michal MalĂ˝ Date: Sat, 28 Feb 2015 18:42:42 +0000 (+0100) Subject: Remove some commented out code and disable ruler ticks debugging output- X-Git-Tag: 0.4a~18 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=0cfd623fde9c1ca1d26da2d9cf9ce70b62a4db26;p=anyanka.git Remove some commented out code and disable ruler ticks debugging output- --- diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index c4982b0..70ebb45 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -29,7 +29,6 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), - //m_singleSignalView(false), ui(new Ui::MainWindow) { ui->setupUi(this); @@ -190,12 +189,6 @@ void MainWindow::onSWFullSizeToggle() QWidget* sender = qobject_cast(QObject::sender()); for (int idx = 0; idx < m_dashboard->count(); idx++) { - /*if (m_dashboard->widget(idx) != sender) { - if (!m_singleSignalView) - m_dashboard->widget(idx)->hide(); - else - m_dashboard->widget(idx)->show(); - }*/ QWidget* w = m_dashboard->widget(idx); if (w != sender) { @@ -205,8 +198,6 @@ void MainWindow::onSWFullSizeToggle() w->hide(); } } - - //m_singleSignalView = !m_singleSignalView; } void MainWindow::onZoomSelected() diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 50b7bf1..98eb7c8 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -58,7 +58,6 @@ private: //std::vector m_itemsOnDashboard; QSplitter* m_dashboard; QFileDialog* m_loadDataFileDialog; - //bool m_singleSignalView; Ui::MainWindow *ui; public slots: diff --git a/signalcontroller.cpp b/signalcontroller.cpp index 40eb7b2..f04c0e8 100644 --- a/signalcontroller.cpp +++ b/signalcontroller.cpp @@ -206,7 +206,7 @@ RulerDrawData SignalController::getRulerDrawData(const double from, const double firstTickRel = valueToRel(firstTickAbs); break; } - Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString(" ftA %1 ftR %2 aS %3 rS %4").arg(firstTickAbs).arg(firstTickRel).arg(step).arg(relStep)); + //Logger::log(Logger::Level::DEBUG, ME_SENDER_STR, __QFUNC__ + QString(" ftA %1 ftR %2 aS %3 rS %4").arg(firstTickAbs).arg(firstTickRel).arg(step).arg(relStep)); return RulerDrawData(firstTickAbs, firstTickRel, step, relStep); }