force use of no elide and scrollbars in main tab

depending on the style used on a given system the text in the tab bar for
selection of different charts (summary, ride plot...) may be elided on
screens with small resoulution.   This overrides the use of scrollbars
which is set  explicitly in the code. this one line patch forces the use of
non-elided text in the the tabs so that scroll bars appear.
This commit is contained in:
Jamie Kimberley
2011-08-28 17:42:23 -04:00
committed by Mark Liversedge
parent 524ab81a08
commit 8fcbe81daf

View File

@@ -230,6 +230,7 @@ MainWindow::MainWindow(const QDir &home) :
tabWidget = new QTabWidget;
tabWidget->setUsesScrollButtons(true);
tabWidget->setElideMode(Qt::ElideNone);
// setup trainWindow
trainWindow = new TrainWindow(this, home);