From 5e642eb75ce23b5f7ad5358307fd8adc9bd012d9 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 10 Jan 2012 17:11:45 +1000 Subject: [PATCH] Hide Event Color tab in Preferences as it's unfinished --- preferencesdialog.cpp | 1 + preferencesdialog.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 457b5333..da39ed24 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -64,6 +64,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent,Profile * _profile) : ui->startedUsingMask->calendarWidget()->setFirstDayOfWeek(dow); + ui->tabWidget->removeTab(ui->tabWidget->indexOf(ui->colourTab)); // Stop both calendar drop downs highlighting weekends in red QTextCharFormat format = ui->startedUsingMask->calendarWidget()->weekdayTextFormat(Qt::Saturday); diff --git a/preferencesdialog.ui b/preferencesdialog.ui index d278bc39..6a500c2e 100644 --- a/preferencesdialog.ui +++ b/preferencesdialog.ui @@ -42,7 +42,7 @@ - 1 + 2