~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/chatsplitter.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <QChildEvent>
26
26
 
27
27
#include "psioptions.h"
28
 
#include "common.h"
29
28
 
30
29
/**
31
30
 * Handy widget that masquerades itself as QSplitter, and could work
135
134
 
136
135
/**
137
136
 * Updates layout according to current options.
138
 
 * FIXME: When option.chatLineEdit finally makes it to PsiOptions, make this slot
 
137
 * FIXME: When PsiOptions::instance()->getOption("options.ui.chat.use-expanding-line-edit").toBool() finally makes it to PsiOptions, make this slot
139
138
 *        private.
140
139
 */
141
140
void ChatSplitter::optionsChanged()
142
141
{
143
 
        setSplitterEnabled(!option.chatLineEdit);
 
142
        setSplitterEnabled(!PsiOptions::instance()->getOption("options.ui.chat.use-expanding-line-edit").toBool());
144
143
}