--- a/src/dialogs/configdialog.h Thu Jun 21 19:21:49 2018 +0300 +++ b/src/dialogs/configdialog.h Fri Jun 22 12:13:01 2018 +0300 @@ -69,7 +69,7 @@ private: class Ui_ConfigDialog& ui; - QList<QListWidgetItem*> quickColorItems; + QVector<QListWidgetItem*> quickColorItems; QMap<QPushButton*, QColor> m_buttonColors; ExternalProgramWidgets m_externalProgramWidgets[NumExternalPrograms]; QVector<ColorToolbarItem> quickColors; @@ -81,10 +81,10 @@ void setButtonBackground (QPushButton* button, QString value); void updateQuickColorList (ColorToolbarItem* sel = nullptr); void setShortcutText (ShortcutListItem* item); - int getItemRow (QListWidgetItem* item, QList<QListWidgetItem*>& haystack); + int getItemRow (QListWidgetItem* item, QVector<QListWidgetItem*>& haystack); QString quickColorString(); QListWidgetItem* getSelectedQuickColor(); - QList<ShortcutListItem*> getShortcutSelection(); + QVector<ShortcutListItem*> getShortcutSelection(); void initExtProgs(); void applyToWidgetOptions (std::function<void (QWidget*, QString)> func);