Permalink
Browse files

symbian anna

  • Loading branch information...
1 parent 449f7ef commit ab9b21bf63654ecac4e586468db8aeea5a649bb5 @Summeli committed Sep 3, 2011
Showing with 1 addition and 60 deletions.
  1. +0 −57 gpsp4cute/cuteDebug.cpp
  2. +1 −1 gpsp4cute/gpsp4cute.pro
  3. +0 −2 gpsp4cute/main.cpp
@@ -1,57 +0,0 @@
-/* gpsp4cute
- *
- * Copyright (C) 2010 Summeli <summeli@summeli.fi>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-
-#include "cuteDebug.h"
-
-#ifdef _DEBUG
-
-#include <QtGui>
-#include <QApplication>
-
-QTime timeDebug;
-QFile file("F:\\Data\\gpspdebug.txt");
-
-void debugOutput(QtMsgType type, const char *msg)
-{
- return;
- QTextStream out(&file);
- switch (type)
- {
- case QtDebugMsg:
- //out << timeDebug.elapsed();
- //out << " ";
- //out << msg;
- //out << "\n";
- RDebug::Printf("gpSP - %d - %s", timeDebug.elapsed(), msg);
- break;
- default:
- break;
- }
-}
-#endif
-
-void initdebug()
-{
-#ifdef _DEBUG
- file.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
- timeDebug.start();
- qInstallMsgHandler(debugOutput);
-#endif
-}
@@ -33,7 +33,6 @@ SOURCES += cuteErrorDialog.cpp \
keyconfigdialog.cpp \
viewcontroller.cpp \
emusettings.cpp \
- cuteDebug.cpp \
gpspadaptation.cpp \
main.cpp \
gpsp4Qt.cpp \
@@ -76,6 +75,7 @@ symbian:TARGET.EPOCSTACKKSIZE = 0x10000
symbian: TARGET.CAPABILITY = UserEnvironment
symbian:ICON = gfx/gpsp.svg
symbian:INCLUDEPATH += ../gpsp/inc/
+symbian:MACRO = SYMBIAN_ENABLE_SPLIT_HEADERS
OTHER_FILES += summelistyle.qss
View
@@ -46,9 +46,7 @@ BEGIN_RELOCATED_CODE(0x10000000);
//init all the basic symbian stuff
init_symbian_stuff();
- initdebug();
QApplication a(argc, argv);
-
loadStyleSheet();
ViewController* vc = new ViewController();

0 comments on commit ab9b21b

Please sign in to comment.