From 935ad6b02c47a74d94dc5afd5ca2795cbd9f7c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 4 Aug 2013 12:21:51 +0200 Subject: Fix KDE includes problem --- gui/mainwindow.cpp | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'gui/mainwindow.cpp') diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index c4e8dc03..d3dee254 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -45,8 +45,8 @@ #include "gui/legacymodeditdialog.h" #include "gui/instancesettings.h" -#include "kcategorizedview.h" -#include "kcategorydrawer.h" +#include "categorizedview.h" +#include "categorydrawer.h" #include "lists/InstanceList.h" #include "AppSettings.h" @@ -84,12 +84,6 @@ MainWindow::MainWindow ( QWidget *parent ) : // Create the widget view = new KCategorizedView ( ui->centralWidget ); drawer = new KCategoryDrawer ( view ); - /* - QPalette pal = view->palette(); - pal.setBrush(QPalette::Base, QBrush(QPixmap(QString::fromUtf8(":/backgrounds/kitteh")))); - view->setPalette(pal); - */ - view->setStyleSheet( "QListView\ {\ @@ -137,13 +131,8 @@ MainWindow::MainWindow ( QWidget *parent ) : connect(view, SIGNAL(clicked(const QModelIndex &)), this, SLOT(instanceChanged(const QModelIndex &))); - // Load the instances. + // Load the instances. FIXME: this is not the place I'd say. instList.loadList(); - // just a test - /* - instList.at(0)->setGroup("TEST GROUP"); - instList.at(0)->setName("TEST ITEM"); - */ //FIXME: WTF if (!MinecraftVersionList::getMainList().isLoaded()) -- cgit v1.2.3