diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 16:48:14 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 16:48:14 +0200 |
commit | e1c6bab5722e6b2f01977ad8c558bc5fae1c3dbe (patch) | |
tree | a8093717789f3836de699a5415bb9efc5138a55d | |
parent | uhm... a BIG change to fix a tiny bug :( (diff) | |
download | rekonq-e1c6bab5722e6b2f01977ad8c558bc5fae1c3dbe.tar.xz |
Reload page on changed encodings
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7133f09e..59af4d42 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1319,7 +1319,8 @@ void MainWindow::setEncoding(QAction *qa) QString currentCodec = qa->text().toLatin1(); currentCodec = currentCodec.remove('&'); kDebug() << "Setting codec: " << currentCodec; - currentTab()->page()->settings()->setDefaultTextEncoding(currentCodec); + currentTab()->view()->settings()->setDefaultTextEncoding(currentCodec); + currentTab()->view()->reload(); } |