Skip to content
Permalink
Browse files

Added the possibility to use .ini files for settings

  • Loading branch information...
SverrirValgeirsson committed Apr 15, 2018
1 parent 4922815 commit 0331c5ad9b9fb20a30533ef00f5740143bc6e6f5
Showing with 13 additions and 2 deletions.
  1. +8 −2 CHANGELOG
  2. +5 −0 mainwindow.cpp
@@ -1,7 +1,13 @@
2.09
New in 2.10
===========

* Added Global Hotkey support
* Support for saving settings in an .ini file by sending "-useini" as argument to the application


New in 2.09
===========

* Added Global Hotkey support (Ctrl-Alt-t)
* Fixed a bug where the font change wasn't saved from preferences
* Ensure that the windows is shown on an existing screen when the application starts.

@@ -51,6 +51,11 @@ MainWindow::MainWindow(QWidget *parent) :



// Check if we're supposed to have the settings from .ini file or not
if(QCoreApplication::arguments().contains("-useini")){
QSettings::setDefaultFormat(QSettings::IniFormat);
}

// Restore the position of the window
auto rec = QApplication::desktop()->screenGeometry();
auto maxx = rec.height();

0 comments on commit 0331c5a

Please sign in to comment.
You can’t perform that action at this time.