[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/blogilo/src
From: Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date: 2010-12-05 18:56:53
Message-ID: 20101205185653.6F9A2AC8A5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1203942 by momeny:
Commented using new method (instead of deprecated) due the new method is not \
available from here, Its object is protected :/ CCMAIL:ervin@kde.org
M +6 -5 mainwindow.cpp
--- trunk/KDE/kdepim/blogilo/src/mainwindow.cpp #1203941:1203942
@@ -70,12 +70,13 @@
setWindowTitle( i18n("Blogilo") );
tabPosts = new KTabWidget( this );
- tabPosts->setElideMode( Qt::ElideRight );///TODO make this Optional!
-#if KDE_IS_VERSION( 4, 5, 80 )
- tabPosts->tabBar()->setSelectionBehaviorOnRemove( QTabBar::SelectPreviousTab );
-#else
+ tabPosts->setElideMode( Qt::ElideRight );
+// #if KDE_IS_VERSION( 4, 5, 80 )
+/// does not build with KDE 4.5.80: Compile Error: ‘QTabBar* QTabWidget::tabBar() \
const' is protected +// tabPosts->tabBar()->setSelectionBehaviorOnRemove( \
QTabBar::SelectPreviousTab ); +// #else
tabPosts->setTabCloseActivatePrevious( true );
-#endif
+// #endif
tabPosts->setDocumentMode(true);
setCentralWidget( tabPosts );
// this->setDockOptions( QMainWindow::ForceTabbedDocks);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic