~charon-developers/tuchulcha/supernodes

« back to all changes in this revision

Viewing changes to src/TuchulchaWindow.cpp

  • Committer: Stephan Meister
  • Date: 2013-11-22 10:32:00 UTC
  • Revision ID: stephan.meister@iwr.uni-heidelberg.de-20131122103200-5pf7bb8tgfcp02yt
fixed crash on first start of Tuchulcha

Show diffs side-by-side

added added

removed removed

Lines of Context:
641
641
                        SLOT(_showHelp(QString)));
642
642
        dialog.exec();
643
643
        QSettings settings;
644
 
        _toolBar->setToolButtonStyle((Qt::ToolButtonStyle)
645
 
                settings.value("toolButtonStyle",Qt::ToolButtonFollowStyle).toInt());
 
644
    if(_toolBar)
 
645
        _toolBar->setToolButtonStyle((Qt::ToolButtonStyle)
 
646
            settings.value("toolButtonStyle",Qt::ToolButtonFollowStyle).toInt());
646
647
}