Commit 5d4cda3e authored by Laurent Montel's avatar Laurent Montel 😁

kdelibs4support--

parent 6c747d97
......@@ -29,7 +29,7 @@
#include <QtGui/QIcon>
// KDE
#include <KColorDialog>
#include <QColorDialog>
#include <KWindowSystem>
#include <KFileDialog>
#include <KUrlCompletion>
......@@ -159,9 +159,8 @@ void ColorSchemeEditor::editColorItem(QTableWidgetItem* item)
}
QColor color = item->background().color();
int result = KColorDialog::getColor(color);
if (result == KColorDialog::Accepted) {
color = QColorDialog::getColor();
if ( color.isValid() ) {
item->setBackground(color);
int colorSchemeRow = item->row();
......
......@@ -29,7 +29,6 @@
#include <QtCore/QDir>
// KDE
#include <KGlobal>
#include <KConfig>
#include <KLocalizedString>
#include <QDebug>
......
......@@ -31,7 +31,6 @@
#include <KActionCollection>
#include <KLocale>
#include <KPluginFactory>
#include <KGlobal>
#include <KLocalizedString>
#include <kde_file.h>
#include <QDebug>
......
......@@ -40,7 +40,6 @@
// KDE
#include <KConfigGroup>
#include <KGlobal>
#include <KSharedConfig>
#include <KUser>
#include <QDebug>
......
......@@ -28,7 +28,6 @@
// KDE
#include <KConfig>
#include <KConfigGroup>
#include <KGlobal>
// Konsole
#include "ShellCommand.h"
......
......@@ -28,7 +28,6 @@
// KDE
#include <KConfig>
#include <KConfigGroup>
#include <KGlobal>
// Konsole
#include "ShellCommand.h"
......
......@@ -52,7 +52,6 @@
#include <KStringHandler>
#include <KSharedConfig>
#include <KConfigGroup>
#include <KGlobal>
#include <kdeversion.h>
#include <KCodecAction>
......
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