~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to src/chateditproxy.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:
24
24
 
25
25
#include "msgmle.h"
26
26
#include "psioptions.h"
27
 
#include "common.h"
28
27
 
29
28
ChatEditProxy::ChatEditProxy(QWidget* parent)
30
29
        : QWidget(parent)
112
111
 
113
112
/**
114
113
 * Update ChatEdit widget according to current options.
115
 
 * FIXME: When option.chatLineEdit finally makes it to PsiOptions, make this slot
 
114
 * FIXME: When PsiOptions::instance()->getOption("options.ui.chat.use-expanding-line-edit").toBool() finally makes it to PsiOptions, make this slot
116
115
 *        private.
117
116
 */
118
117
void ChatEditProxy::optionsChanged()
119
118
{
120
 
        setLineEditEnabled(option.chatLineEdit);
 
119
        setLineEditEnabled(PsiOptions::instance()->getOption("options.ui.chat.use-expanding-line-edit").toBool());
121
120
}