Permalink
Browse files

Style fix: convert tabs to spaces.

  • Loading branch information...
1 parent 301487d commit dddeab8c7a5d31bee7de5242d2e35112e5434413 @icefox icefox committed Sep 27, 2010
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/browsermainwindow.cpp
  2. +1 −1 src/history/historycompleter.cpp
@@ -912,8 +912,8 @@ void BrowserMainWindow::aboutToShowTextEncodingMenu()
for (int i = 0; i < codecs.count(); ++i) {
const QString &codec = codecs.at(i);
QAction *action = m_viewTextEncodingMenu->addAction(codec);
- action->setData(codec);
- action->setCheckable(true);
+ action->setData(codec);
+ action->setCheckable(true);
if (currentCodec == i)
action->setChecked(true);
}
@@ -927,7 +927,7 @@ void BrowserMainWindow::viewTextEncoding(QAction *action)
Q_ASSERT(action);
QString codec = action->data().toString();
if (codec.isEmpty())
- QWebSettings::globalSettings()->setDefaultTextEncoding(QString());
+ QWebSettings::globalSettings()->setDefaultTextEncoding(QString());
else
QWebSettings::globalSettings()->setDefaultTextEncoding(codec);
#endif
@@ -252,7 +252,7 @@ bool HistoryCompleter::eventFilter(QObject *obj, QEvent *event)
return true;
} else if (keyEvent->key() == Qt::Key_Escape) {
popup()->hide();
- }
+ }
}
return QCompleter::eventFilter(obj, event);
}

0 comments on commit dddeab8

Please sign in to comment.