Diffstat (limited to 'noncore/apps/opie-reader/QTReaderApp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/QTReaderApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/QTReaderApp.cpp b/noncore/apps/opie-reader/QTReaderApp.cpp index 2044b1d..7333a28 100644 --- a/noncore/apps/opie-reader/QTReaderApp.cpp +++ b/noncore/apps/opie-reader/QTReaderApp.cpp | |||
@@ -2160,25 +2160,25 @@ void QTReaderApp::setfont() | |||
2160 | for (int i = 1; i <= m_fontSelector->count(); i++) | 2160 | for (int i = 1; i <= m_fontSelector->count(); i++) |
2161 | { | 2161 | { |
2162 | if (m_fontSelector->text(i) == reader->m_fontname) | 2162 | if (m_fontSelector->text(i) == reader->m_fontname) |
2163 | { | 2163 | { |
2164 | m_fontSelector->setCurrentItem(i); | 2164 | m_fontSelector->setCurrentItem(i); |
2165 | break; | 2165 | break; |
2166 | } | 2166 | } |
2167 | } | 2167 | } |
2168 | m_fontBar->show(); | 2168 | m_fontBar->show(); |
2169 | m_fontVisible = true; | 2169 | m_fontVisible = true; |
2170 | } | 2170 | } |
2171 | 2171 | ||
2172 | void QTReaderApp::setfontHelper(const QString& lcn, int size = 0) | 2172 | void QTReaderApp::setfontHelper(const QString& lcn, int size) |
2173 | { | 2173 | { |
2174 | if (size == 0) size = reader->m_fontControl.currentsize(); | 2174 | if (size == 0) size = reader->m_fontControl.currentsize(); |
2175 | QFont f(lcn, 10 /*, QFont::Bold*/); | 2175 | QFont f(lcn, 10 /*, QFont::Bold*/); |
2176 | qDebug("bs"); | 2176 | qDebug("bs"); |
2177 | bkmkselector->setFont( f ); | 2177 | bkmkselector->setFont( f ); |
2178 | qDebug("re"); | 2178 | qDebug("re"); |
2179 | regEdit->setFont( f ); | 2179 | regEdit->setFont( f ); |
2180 | qDebug("se"); | 2180 | qDebug("se"); |
2181 | searchEdit->setFont( f ); | 2181 | searchEdit->setFont( f ); |
2182 | qDebug("aw"); | 2182 | qDebug("aw"); |
2183 | m_annoWin->setFont( f ); | 2183 | m_annoWin->setFont( f ); |
2184 | reader->m_fontname = lcn; | 2184 | reader->m_fontname = lcn; |