remove tr()' from debug prints
authorKaj Wallin <kaj.wallin@ixonos.com>
Mon, 19 Apr 2010 12:04:44 +0000 (15:04 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Mon, 19 Apr 2010 12:04:44 +0000 (15:04 +0300)
src/ui/mainwindow.cpp

index 7fe402f..63025ed 100644 (file)
@@ -101,7 +101,7 @@ void MainWindow::switchView(int nextIndex)
 {
     qDebug() << __PRETTY_FUNCTION__ << ":" << nextIndex;
     if (nextIndex < 0 || nextIndex > 1) {
-        qDebug() << tr("Illegal parameter value in MainWindow::switchView");
+        qDebug() << "Illegal parameter value in MainWindow::switchView";
         return;
     }
     m_situareViews->setCurrentIndex(nextIndex);
@@ -113,7 +113,7 @@ void MainWindow::switchView(int nextIndex)
             setWindowTitle(tr("Map view"));
             break;
         default:
-            qDebug() << tr("Illegal switch value in MainWindow::switchView");
+            qDebug() << "Illegal switch value in MainWindow::switchView";
             break;
     }
 }