Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Mar 2, 2013
1 parent 14ebe0d commit d694491
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
11 changes: 7 additions & 4 deletions doc/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
UltraMon Wallpaper Autochanger

Version : 1.0 alpha2
Release date : February 28th, 2013
Version : 1.0
Release date : March 2nd, 2013
Author : Damien "Mistic" Sorel
Website : http://www.strangeplanet.fr
License : GNU General Public License Version 3
Expand All @@ -17,12 +17,12 @@ UMWP Autochanger is a little tool for UltraMon users. I has two main features :
Requirement
===========
UltraMon 3.2.1 or higher
Windows 7/8
Windows 7/8 32/64 bits


Installation
============
1. Install and configure UlraMon on your computer.
1. Install and configure UltraMon on your computer.

2. Go to the wallpaper configuration of UltraMon, and configure the "default"
wallpaper as you wish (you don't need to define an image file).
Expand Down Expand Up @@ -60,6 +60,9 @@ Known bugs
Changelog
=========

--- 1.0 (02/03/2013)
- fixed: multi delete doesn't work correclty

--- 1.0 alpha2 (28/02/2013)
- fixed: autorun shortcut not starting in the good working directory
- fixed: delay spinbox no initialized correctly
Expand Down
2 changes: 1 addition & 1 deletion main.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


#define APP_NAME "UMWP Autochanger"
#define APP_VERSION "1.0 alpha2"
#define APP_VERSION "1.0"
#define APP_CONFIG_FILE "settings.xml"
#define APP_WALLPAPER_FILE "AutoChanger.wallpaper"

Expand Down
9 changes: 6 additions & 3 deletions settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,11 +435,14 @@ void Settings::vDeleteSet(short int _i)
}
}

void Settings::vDeleteSets(const QList<int> &_list)
void Settings::vDeleteSets(QList<int> _list)
{
for (QList<int>::const_iterator i=_list.begin(); i!=_list.end(); i++)
qSort(_list);
int off=0;
for (QList<int>::iterator i=_list.begin(); i!=_list.end(); i++)
{
vDeleteSet(*i);
vDeleteSet(*i-off);
off++;
}
}

Expand Down
2 changes: 1 addition & 1 deletion settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Settings
Set* oAddSet(QString _sPath);
Set* oAddSet(QString _sPath, QString _sName, bool _bActive);
void vDeleteSet(short int _i);
void vDeleteSets(const QList<int> &_list);
void vDeleteSets(QList<int> _list);
void vDeleteAll();
QString sRenameSet(short int _i, const QString &_name, bool _returnFull);
void vSetState(short int _i, bool _a);
Expand Down

0 comments on commit d694491

Please sign in to comment.