]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Remove some commented out code and disable ruler ticks debugging output-
authorMichal Malý <madcatxster@devoid-pointer.net>
Sat, 28 Feb 2015 18:42:42 +0000 (19:42 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sat, 28 Feb 2015 18:42:42 +0000 (19:42 +0100)
gui/mainwindow.cpp
gui/mainwindow.h
signalcontroller.cpp

index c4982b022baf14ce979b4f002d61c11e3e7d7b14..70ebb45da86b0f2e04d7166c3d115aac9fba21c8 100644 (file)
@@ -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<QWidget*>(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()
index 50b7bf1c9f4dcdb2ff85d00551f569099ad65b5a..98eb7c8204238d9ebb9f588a76b2409187f497c4 100644 (file)
@@ -58,7 +58,6 @@ private:
   //std::vector<SignalView*> m_itemsOnDashboard;
   QSplitter* m_dashboard;
   QFileDialog* m_loadDataFileDialog;
-  //bool m_singleSignalView;
   Ui::MainWindow *ui;
 
 public slots:
index 40eb7b2aceb513db3f14e874443fa3b143201c36..f04c0e843ff7a51a6565383229345d8f9b75f7c7 100644 (file)
@@ -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);
 }