fix cppcheck warnings

improvements of interaction with items
This commit is contained in:
arcan1s
2015-02-12 02:57:05 +03:00
parent 4dbf5150fc
commit 3bd73d0458
19 changed files with 237 additions and 74 deletions

View File

@ -99,17 +99,17 @@ private:
QList<Plasma::Containment *> getPanels();
QString panelLocationToStr(Plasma::Location loc);
// ui
QGraphicsGridLayout *layout;
QGraphicsGridLayout *layout = nullptr;
QList<QGraphicsProxyWidget *> proxyWidgets;
QList<CustomPlasmaLabel *> labels;
// tooltip
Plasma::ToolTipContent toolTip;
QGraphicsScene *toolTipScene;
QGraphicsView *toolTipView;
QGraphicsScene *toolTipScene = nullptr;
QGraphicsView *toolTipView = nullptr;
// debug
bool debug;
int activeTooltip = -1;
int oldState;
int oldState = 0;
// configuration interface
Ui::AppearanceWidget uiAppConfig;
Ui::ConfigWindow uiWidConfig;