~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/rkward.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-05-11 21:58:23 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090511215823-m2f3gehcvapwrzgp
Tags: 0.5.0d-0ubuntu1
* New upstream release (LP: #375213)
* Bump Standards-Version to 3.8.1
* Drop cmake, libphon-dev from build-deps
* Update maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
                          rkward.cpp  -  description
3
3
                             -------------------
4
4
    begin                : Tue Oct 29 20:06:08 CET 2002
5
 
    copyright            : (C) 2002, 2005, 2006, 2007, 2008 by Thomas Friedrichsmeier 
 
5
    copyright            : (C) 2002, 2005, 2006, 2007, 2008, 2009 by Thomas Friedrichsmeier 
6
6
    email                : tfry@users.sourceforge.net
7
7
 ***************************************************************************/
8
8
 
46
46
#include <kactioncollection.h>
47
47
#include <krecentfilesaction.h>
48
48
#include <khbox.h>
 
49
#include <ktoolbar.h>
49
50
 
50
51
// application specific includes
51
52
#include "rkward.h"
454
455
 
455
456
void RKWardMainWindow::readOptions () {
456
457
        RK_TRACE (APP);
 
458
        // first make sure to give the global defaults a chance, if needed.
 
459
        // TODO: Why don't the toolbars honor the global style automatically?
 
460
        QList<KToolBar*> tool_bars = toolBars ();
 
461
        for (int i=0; i < tool_bars.size (); ++i) {
 
462
                tool_bars[i]->setToolButtonStyle (KToolBar::toolButtonStyleSetting ());
 
463
        }
 
464
 
457
465
        KConfig *config = KGlobal::config ().data ();
458
466
 
459
467
        applyMainWindowSettings (config->group ("main window options"), true);