# HG changeset patch # User unc0rr # Date 1238776559 0 # Node ID bbdca883b5f96a287f8d47750f111390dcdf2fc3 # Parent 4b8e4cd9e7c0e09329a7cfb37ce52e2a1b525623 - 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) diff -r 4b8e4cd9e7c0 -r bbdca883b5f9 QTfrontend/ammoSchemeModel.cpp --- 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 diff -r 4b8e4cd9e7c0 -r bbdca883b5f9 QTfrontend/ammoSchemeModel.h --- 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 diff -r 4b8e4cd9e7c0 -r bbdca883b5f9 QTfrontend/main.cpp --- 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\");"