Commit 899c6e8a authored by Allen Winter's avatar Allen Winter
Browse files

Q_UNUSED()

parent b33c16e6
...@@ -1126,6 +1126,10 @@ void AkonadiCollectionView::onAction(const QModelIndex &index, int a) ...@@ -1126,6 +1126,10 @@ void AkonadiCollectionView::onAction(const QModelIndex &index, int a)
} }
} }
break; break;
case StyledCalendarDelegate::Total: {
//TODO: anything to implement here?
}
break;
} }
} }
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "KdepimDBusInterfaces/ReminderClient" #include "KdepimDBusInterfaces/ReminderClient"
#include "korganizer-version.h" #include "korganizer-version.h"
#include <KCalCore/CalFormat> #include <KCalCore/CalFormat>
#include <KStartupInfo>
#include "korganizer_debug.h" #include "korganizer_debug.h"
#include "korganizer_options.h" #include "korganizer_options.h"
...@@ -51,7 +50,7 @@ KOrganizerApp::~KOrganizerApp() ...@@ -51,7 +50,7 @@ KOrganizerApp::~KOrganizerApp()
int KOrganizerApp::activate(const QStringList &args, const QString &workingDir) int KOrganizerApp::activate(const QStringList &args, const QString &workingDir)
{ {
Q_UNUSED(workingDir);
static bool first = true; static bool first = true;
if (isSessionRestored() && first) { if (isSessionRestored() && first) {
KOrg::MainWindow *korg = ActionManager::findInstance(QUrl()); KOrg::MainWindow *korg = ActionManager::findInstance(QUrl());
...@@ -126,4 +125,3 @@ void KOrganizerApp::processCalendar(const QUrl &url) ...@@ -126,4 +125,3 @@ void KOrganizerApp::processCalendar(const QUrl &url)
KStartupInfo::setNewStartupId(korg->topLevelWidget(), startupId()); KStartupInfo::setNewStartupId(korg->topLevelWidget(), startupId());
#endif #endif
} }
...@@ -86,6 +86,7 @@ public: ...@@ -86,6 +86,7 @@ public:
QString iconForIncidence(const KCalCore::Incidence::Ptr &incidence) const Q_DECL_OVERRIDE QString iconForIncidence(const KCalCore::Incidence::Ptr &incidence) const Q_DECL_OVERRIDE
{ {
Q_UNUSED(incidence);
return QString(); return QString();
} }
...@@ -191,4 +192,3 @@ void Quickview::onTodayClicked() ...@@ -191,4 +192,3 @@ void Quickview::onTodayClicked()
start = start.addDays(-QDate::currentDate().dayOfWeek() + 1); start = start.addDays(-QDate::currentDate().dayOfWeek() + 1);
mAgendaView->showDates(start, start.addDays(mDayRange - 1)); mAgendaView->showDates(start, start.addDays(mDayRange - 1));
} }
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