- Enable back border of drop-down list (by nemo)
- Move const visibility to public... probably I'll make use of it in future (by me)
--- a/QTfrontend/ammoSchemeModel.cpp Fri Apr 03 16:33:33 2009 +0000
+++ b/QTfrontend/ammoSchemeModel.cpp Fri Apr 03 16:35:59 2009 +0000
@@ -41,8 +41,8 @@
AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
QAbstractTableModel(parent),
- fileConfig(fileName, QSettings::IniFormat),
- numberOfDefaultSchemes(2)
+ numberOfDefaultSchemes(2),
+ fileConfig(fileName, QSettings::IniFormat)
{
QStringList predefSchemesNames;
predefSchemesNames
--- a/QTfrontend/ammoSchemeModel.h Fri Apr 03 16:33:33 2009 +0000
+++ b/QTfrontend/ammoSchemeModel.h Fri Apr 03 16:35:59 2009 +0000
@@ -40,6 +40,8 @@
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
QVariant data(const QModelIndex &index, int role) const;
+ const int numberOfDefaultSchemes;
+
public slots:
void Save();
@@ -53,8 +55,6 @@
QSettings fileConfig;
QStringList spNames;
-
- const int numberOfDefaultSchemes;
};
class NetAmmoSchemeModel : public QAbstractTableModel
--- a/QTfrontend/main.cpp Fri Apr 03 16:33:33 2009 +0000
+++ b/QTfrontend/main.cpp Fri Apr 03 16:35:59 2009 +0000
@@ -178,9 +178,6 @@
"QComboBox::down-arrow {"
"image: url(\":/res/dropdown.png\");"
"}"
- "QComboBox QAbstractItemView {"
- "border: solid transparent;"
- "}"
"VertScrArea {"
"background-image: url(\":/res/panelbg.png\");"