Commit d4be1f63 authored by David Jarvie's avatar David Jarvie

Tidy

parent 9efb232c
......@@ -38,8 +38,8 @@
#include <kstandarddirs.h>
#include <kio/netaccess.h>
#include <kfileitem.h>
#include <QTemporaryFile>
#include <KSharedConfig>
#include <QTemporaryFile>
#include <QStandardPaths>
#include <qdebug.h>
......
......@@ -22,9 +22,9 @@
#include "synchtimer.h"
#include <QTimer>
#include <qdebug.h>
#include <QDateTime>
#include <QTime>
#include <qdebug.h>
/*=============================================================================
= Class: SynchTimer
......
......@@ -48,7 +48,6 @@ class TimeZoneCombo : public ComboBox
void setTimeZone(const KTimeZone& tz);
private:
static bool mCatalogLoaded;
QStringList mZoneNames;
};
......
......@@ -35,7 +35,7 @@
#define PROGRAM_NAME "kalarm"
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
Kdelibs4ConfigMigrator migrate(QLatin1String("kalarm"));
migrate.setConfigFiles(QStringList() << QLatin1String("kalarmrc"));
......
......@@ -41,11 +41,11 @@ TemplatePickDlg::TemplatePickDlg(KAEvent::Actions type, QWidget* parent)
: QDialog(parent)
{
QWidget* topWidget = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout;
QVBoxLayout* mainLayout = new QVBoxLayout;
setLayout(mainLayout);
mainLayout->addWidget(topWidget);
setWindowTitle(i18nc("@title:window", "Choose Alarm Template"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
QDialogButtonBox* buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
mOkButton = buttonBox->button(QDialogButtonBox::Ok);
mOkButton->setDefault(true);
mOkButton->setShortcut(Qt::CTRL | Qt::Key_Return);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment