Commit 0e070cd9 authored by Alexander Semke's avatar Alexander Semke
Browse files

Fixed a warning message and removed couple of unneeded includes in cantor.cpp

parent f91c7c45
......@@ -19,35 +19,22 @@
*/
#include "cantor.h"
#include <QAction>
#include <KActionCollection>
#include <KConfig>
#include <KEditToolBar>
#include <QFileDialog>
#include <KShortcutsDialog>
#include <KPluginLoader>
#include <KConfigDialog>
#include <KConfigGroup>
#include <KMessageBox>
#include <KShortcutsDialog>
#include <KStandardAction>
#include <QStatusBar>
#include <QIcon>
#include <KLocalizedString>
#include <QTabWidget>
#include <KConfigDialog>
#include <KTextEdit>
#include <QTextBrowser>
#include <KXMLGUIFactory>
#include <KToggleAction>
#include <QMenu>
#include <KNS3/DownloadDialog>
#include <KParts/ReadWritePart>
#include <QApplication>
#include <QCloseEvent>
#include <QDebug>
#include <QDockWidget>
#include <QDir>
#include <QFileDialog>
#include <QPushButton>
#include <KConfigGroup>
#include "lib/backend.h"
#include "lib/panelpluginhandler.h"
......@@ -391,7 +378,7 @@ bool CantorShell::reallyClose(bool checkAllParts) {
}
if(!modified) return true;
int want_save = KMessageBox::warningYesNo( this,
i18n("Multiple unsaved Worksheets are opened do want to close?"),
i18n("Multiple unsaved Worksheets are opened. Do you want to close them?"),
i18n("Close Cantor"));
switch (want_save) {
case KMessageBox::Yes:
......
......@@ -26,8 +26,6 @@
#include <QList>
#include <KParts/ReadWritePart>
class QTabWidget;
class KTextEdit;
......@@ -35,6 +33,10 @@ namespace Cantor{
class WorksheetAccessInterface;
}
namespace KParts{
class ReadWritePart;
}
/**
* This is the application "Shell". It has a menubar, toolbar, and
* statusbar but relies on the "Part" to do all the real work.
......
......@@ -27,6 +27,7 @@
#include <KLocalizedString>
#include <KConfigGroup>
#include <QCommandLineParser>
#include <QUrl>
static const char description[] =
I18N_NOOP("KDE Frontend to mathematical applications");
......
Supports Markdown
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