Browse Source

missing bits and pieces

gwillz 5 years ago
parent
commit
f1f18e4dd3
3 changed files with 7 additions and 4 deletions
  1. 3 0
      dialogs.cpp
  2. 1 1
      main.cpp
  3. 3 3
      version.h

+ 3 - 0
dialogs.cpp

@@ -277,6 +277,9 @@ ScreenDialog::ScreenDialog(QWidget *parent)
         connect(box, SIGNAL(doubleClicked()), box, SLOT(identify()));
     }
     
+    //set a default screen value, incase we skip this dialog
+    st->setValue("screen", 0);
+    
     //button bar
     screenLabel = new QLabel("?", this);
     screenLabel->setFont(QFont("Arial", 12, QFont::Normal));

+ 1 - 1
main.cpp

@@ -49,7 +49,7 @@ int main(int argc, char *argv[]) {
     outFile.close();
     
     //replace qDebug handler
-//    qInstallMessageHandler(customMessageHandler);
+    qInstallMessageHandler(customMessageHandler);
     
     QApplication a(argc, argv);
     SlideWindow w;

+ 3 - 3
version.h

@@ -1,10 +1,10 @@
 #ifndef VERSION_H
 #define VERSION_H
 
-#define VER_FILEVERSION             1,5,2,5
-#define VER_FILEVERSION_STR         "1.5.2.5\0"
+#define VER_FILEVERSION             1,5,2,6
+#define VER_FILEVERSION_STR         "1.5.2.6\0"
 
-#define VER_PRODUCTVERSION          1,5,2,5
+#define VER_PRODUCTVERSION          1,5,2,6
 #define VER_PRODUCTVERSION_STR      "1.5\0"
 
 #define VER_COMPANYNAME_STR         "GwillzCorp"