summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 11:21:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-29 12:16:41 +0900
commit73836b4ca5f241d070dd34ac1d9bb828e05f9544 (patch)
tree001b3935b9362f17083be2a8225e6ff42afc2019 /kivio/kiviopart
parent1607518b8c749b4195c5ab11b405f77001526a6a (diff)
downloadkoffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.tar.gz
koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e0df02598b8e19d8b6ddf07fdbca661489ab2e99)
Diffstat (limited to 'kivio/kiviopart')
-rw-r--r--kivio/kiviopart/kivio_view.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp
index 63326efc..b4a3db8f 100644
--- a/kivio/kiviopart/kivio_view.cpp
+++ b/kivio/kiviopart/kivio_view.cpp
@@ -1960,11 +1960,9 @@ void KivioView::textSubScript()
void KivioView::showAlign( int align )
{
switch ( align ) {
-#ifndef USE_QT4
case TQt::AlignAuto: // In left-to-right mode it's align left. TODO: alignright if text->isRightToLeft()
kdWarning(43000) << k_funcinfo << "shouldn't be called with AlignAuto" << endl;
// fallthrough
-#endif // USE_QT4
case TQt::AlignLeft:
m_textAlignLeft->setChecked( true );
break;