~unity-2d-team/unity-2d/dash-not-dock

« back to all changes in this revision

Viewing changes to places/app/places.cpp

  • Committer: Aurelien Gateau
  • Date: 2011-03-07 14:52:11 UTC
  • mto: This revision was merged to the branch mainline in revision 446.
  • Revision ID: aurelien.gateau@canonical.com-20110307145211-b0cu1t3gx1wp91sz
Moved qt message handling to unity2ddebug

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
// unity-2d
37
37
#include <gettexttranslator.h>
 
38
#include <unity2ddebug.h>
38
39
 
39
40
#include "dashdeclarativeview.h"
40
41
#include "config.h"
70
71
{
71
72
    /* gtk needs to be inited, otherwise we get an assert failure in gdk */
72
73
    gtk_init(&argc, &argv);
73
 
    QApplication::setApplicationName("Unity 2D Dash");
74
 
    qInstallMsgHandler(globalMessageHandler);
 
74
    Unity2dDebug::installHandlers();
75
75
 
76
76
    /* Forcing graphics system to 'raster' instead of the default 'native'
77
77
       which on X11 is 'XRender'.